mirror of
https://github.com/umputun/reproxy.git
synced 2024-09-11 08:55:25 +03:00
sign checksum file #95
This commit is contained in:
parent
4fce9c412b
commit
e4385240d4
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ dist/
|
||||
docker-compose-private.yml
|
||||
.vscode
|
||||
.idea
|
||||
*.gpg
|
||||
|
@ -1,3 +1,6 @@
|
||||
signs:
|
||||
- artifacts: checksum
|
||||
|
||||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
|
@ -3,7 +3,12 @@ FROM goreleaser/goreleaser as build
|
||||
WORKDIR /build
|
||||
ADD . /build
|
||||
|
||||
RUN goreleaser --snapshot --skip-publish --rm-dist
|
||||
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/
|
||||
@ -12,6 +17,7 @@ RUN \
|
||||
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/*
|
||||
|
Loading…
Reference in New Issue
Block a user