fixed .drone.yml
All checks were successful
the build was successful

This commit is contained in:
Sebastian Frank
2019-02-20 09:59:03 +01:00
parent a2e931507c
commit 79ab96b5c1
2 changed files with 2 additions and 1 deletions

View File

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

View File

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