mover docker context

This commit is contained in:
Oliver Gorwits
2018-01-11 18:50:35 +00:00
parent 85040009a5
commit b9de076f58
4 changed files with 4 additions and 1 deletions

14
docker/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"]

2
docker/hooks/build Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker build --build-arg TAG=$SOURCE_BRANCH -t $IMAGE_NAME