chore: added sign section to goreleaser (#19739)
* chore: added sign section to goreleaser * chore: update config.yml to be able to import GPG keyspull/19747/head
parent
8a0068546f
commit
9bb9b7f8dd
|
@ -472,6 +472,11 @@ jobs:
|
|||
- install_rust_compiler
|
||||
- install_release_tools
|
||||
- run: make protoc # installs protoc
|
||||
- run:
|
||||
name: import GPG key
|
||||
command: |
|
||||
echo -e "$GPG_PRIVATE_KEY" > private.key
|
||||
gpg --batch --import private.key
|
||||
- run:
|
||||
name: "Build release"
|
||||
command: make release
|
||||
|
|
|
@ -124,6 +124,13 @@ dockers:
|
|||
extra_files:
|
||||
- docker/influxd/entrypoint.sh
|
||||
|
||||
signs:
|
||||
-
|
||||
signature: "${artifact}.asc"
|
||||
cmd: gpg
|
||||
args: [ "--passphrase", "{{.Env.PASSPHRASE}}", "--pinentry-mode=loopback", "--batch", "--armor", "--detach-sign", "${artifact}"]
|
||||
artifacts: all
|
||||
|
||||
# Do not make github release
|
||||
release:
|
||||
name_template: "v{{.Version}}"
|
||||
|
|
Loading…
Reference in New Issue