This commit is contained in:
parent
baa38b668e
commit
3c87da15e1
@ -64,7 +64,7 @@ steps:
|
|||||||
- name: build docker image
|
- name: build docker image
|
||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
- cp dist/mark2web-`cat build/VERSION`-linux-amd64 mark2web
|
- cp dist/mark2web-`cat build/VERSION`-linux-amd64 build/package/mark2web
|
||||||
- docker build -t apairon/mark2web build/package
|
- docker build -t apairon/mark2web build/package
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine
|
FROM alpine
|
||||||
RUN apk update && apk add ca-certificates openssh-client sshpass rsync gzip && rm -r /var/cache/
|
RUN apk update && apk add ca-certificates openssh-client sshpass rsync gzip && rm -r /var/cache/
|
||||||
ADD ../../mark2web /
|
ADD mark2web /
|
||||||
CMD ["/mark2web"]
|
CMD ["/mark2web"]
|
||||||
|
Loading…
Reference in New Issue
Block a user