forms/scripts/publish-bins-docker
Aravinth Manivannan 37109d744d
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: publish forms bin at dl.librepages.org
2022-12-28 16:34:37 +05:30

14 lines
505 B
Text

FROM realaravinth/librepages-forms:latest as base
RUN echo foo
FROM debian:bullseye-slim
RUN apt update
RUN apt-get -y --no-install-recommends install gpg tar curl wget
WORKDIR /src
COPY --from=base /usr/local/bin/forms .
COPY . .
ARG RELEASE_BOT_GPG_SIGNING_KEY
RUN echo -n "$RELEASE_BOT_GPG_SIGNING_KEY"
RUN echo -n "$RELEASE_BOT_GPG_SIGNING_KEY" | gpg --batch --import --pinentry-mode loopback
env GPG_PASSWORD=$GPG_PASSWORD
RUN /src/scripts/bin-publish.sh publish master latest $DUMBSERVE_PASSWORD