import docker data to netdisco repo

This commit is contained in:
Oliver Gorwits
2018-01-12 19:15:47 +00:00
parent ce1573fea1
commit 32756baec2
7 changed files with 148 additions and 14 deletions

View File

@@ -1,14 +0,0 @@
# 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"]