@@ -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
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user