add Dockerfile to trigger netdisco-docker

This commit is contained in:
Oliver Gorwits
2018-01-11 18:27:43 +00:00
parent 87c1537a80
commit 85040009a5
2 changed files with 15 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
# vim: ft=Dockerfile
FROM docker.io/alpine:3.7
ARG TAG
ENV TAG ${TAG:-2.000000}
RUN apk add --no-cache \
curl
RUN curl -u "$GHTOKID:$GHTOKVAL" \
--data '{"tag_name": "$TAG", "target_commitish": "og-import-irasnyd"}' \
"https://api.github.com/repos/netdisco/netdisco-docker/releases"
CMD ["sh"]

View File

@@ -73,3 +73,4 @@ logs/.*
.github
.travis
README.md
Dockerfile