mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-26 11:15:56 +03:00
72f5dbb429
Bumps goreleaser/goreleaser from v1.14.0 to v1.25.1. --- updated-dependencies: - dependency-name: goreleaser/goreleaser dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
704 B
Docker
26 lines
704 B
Docker
FROM goreleaser/goreleaser:v1.25.1 as build
|
|
|
|
WORKDIR /build
|
|
ADD . /build
|
|
|
|
RUN apk add -u gnupg
|
|
|
|
RUN \
|
|
export GNUPGHOME="$PWD/releaser-gpg" && export GNUPGHOME && mkdir -p "$GNUPGHOME" && chmod 0700 "$GNUPGHOME" && \
|
|
cat reproxy.signing-key.gpg | gpg --batch --allow-secret-key-import --import && \
|
|
goreleaser --snapshot --skip-publish --rm-dist
|
|
|
|
FROM alpine
|
|
COPY --from=build /build/dist/ /dist/
|
|
RUN \
|
|
mkdir -p /artifacts && \
|
|
cp /dist/*.gz /artifacts/ && \
|
|
cp /dist/*.zip /artifacts/ && \
|
|
cp /dist/*.txt /artifacts/ && \
|
|
cp /dist/*.sig /artifacts/ && \
|
|
cp /dist/*.rpm /artifacts/ && \
|
|
cp /dist/*.deb /artifacts/ && \
|
|
ls -la /artifacts/*
|
|
|
|
CMD ["sleep", "100"]
|