fixed .drone.yml

This commit is contained in:
Sebastian Frank 2019-02-20 09:59:03 +01:00
parent a2e931507c
commit 79ab96b5c1
Signed by: apairon
GPG Key ID: 7270D06DDA7FE8C3
2 changed files with 2 additions and 1 deletions

@ -58,6 +58,7 @@ pipeline:
build_docker:
image: docker
commands:
- cp dist/mark2web-`cat VERSION`-linux-amd64 mark2web
- docker build -t apairon/mark2web .
volumes:
- /var/run/docker.sock:/var/run/docker.sock

@ -1,4 +1,4 @@
FROM alpine
RUN apk update && apk add openssh-client sshpass rsync gzip && rm -r /var/cache/
ADD dist/mark2web-linux-amd64 /mark2web
ADD mark2web /
CMD ["/mark2web"]