diff --git a/build/ci/.drone.yml b/build/ci/.drone.yml index 6727a80..41d3713 100644 --- a/build/ci/.drone.yml +++ b/build/ci/.drone.yml @@ -64,7 +64,7 @@ steps: - name: build docker image image: docker 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 volumes: - name: docker diff --git a/build/package/Dockerfile b/build/package/Dockerfile index 1924f05..310b3e3 100644 --- a/build/package/Dockerfile +++ b/build/package/Dockerfile @@ -1,4 +1,4 @@ FROM alpine RUN apk update && apk add ca-certificates openssh-client sshpass rsync gzip && rm -r /var/cache/ -ADD ../../mark2web / +ADD mark2web / CMD ["/mark2web"]