make docker image more suitable for ci

This commit is contained in:
Egor Kovetskiy 2020-07-25 12:38:59 +03:00
parent 25875438dc
commit 3fa9362cd8
2 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,7 @@ RUN make get
RUN make build
FROM alpine:latest
RUN apk --no-cache add ca-certificates bash
RUN apk --no-cache add ca-certificates bash git
COPY --from=0 /go/src/github.com/kovetskiy/mark/mark /bin/
RUN mkdir -p /docs
WORKDIR /docs
ENTRYPOINT ["/bin/mark"]

View File

@ -251,6 +251,7 @@ Apply:
echo "> Uploading ${file}";
docker run --rm -i -v=$(pwd):/docs
kovetskiy/mark:latest
mark
-u $DOCS_WIKI_USERNAME
-p $DOCS_WIKI_PASSWORD
-b $DOCS_WIKI_BASE_URL