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_rust_compiler
|
||||||
- install_release_tools
|
- install_release_tools
|
||||||
- run: make protoc # installs protoc
|
- run: make protoc # installs protoc
|
||||||
|
- run:
|
||||||
|
name: import GPG key
|
||||||
|
command: |
|
||||||
|
echo -e "$GPG_PRIVATE_KEY" > private.key
|
||||||
|
gpg --batch --import private.key
|
||||||
- run:
|
- run:
|
||||||
name: "Build release"
|
name: "Build release"
|
||||||
command: make release
|
command: make release
|
||||||
|
|
|
@ -124,6 +124,13 @@ dockers:
|
||||||
extra_files:
|
extra_files:
|
||||||
- docker/influxd/entrypoint.sh
|
- 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
|
# Do not make github release
|
||||||
release:
|
release:
|
||||||
name_template: "v{{.Version}}"
|
name_template: "v{{.Version}}"
|
||||||
|
|
Loading…
Reference in New Issue