Skip to content

Commit

Permalink
fix: Add gpg signing to goreleaser (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
alldoami authored Mar 11, 2022
1 parent b01a21b commit 8ae3312
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,19 @@ archives:
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'

checksum:
extra_files:
- glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256

signs:
- artifacts: checksum
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"

0 comments on commit 8ae3312

Please sign in to comment.