parent
a2e931507c
commit
79ab96b5c1
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user