15 lines
505 B
Text
15 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
|