Skip to content

Commit

Permalink
Also publish the signatures as part of the release
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Franssen <marco.franssen@philips.com>
  • Loading branch information
marcofranssen committed Mar 5, 2024
1 parent 3c27873 commit a3b7161
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,38 +106,38 @@ signs:
artifacts: checksum
args:
- sign-blob
- --yes
- --key
- cosign.key
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- --yes
- id: binaries
cmd: cosign
stdin: '{{ .Env.COSIGN_PASSWORD }}'
output: true
artifacts: binary
args:
- sign-blob
- --yes
- --key
- cosign.key
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- --yes
- id: archives
cmd: cosign
stdin: '{{ .Env.COSIGN_PASSWORD }}'
output: true
artifacts: archive
args:
- sign-blob
- --yes
- --key
- cosign.key
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- --yes

docker_signs:
- artifacts: all
Expand All @@ -146,10 +146,10 @@ docker_signs:
output: true
args:
- 'sign'
- --yes
- --key
- cosign.key
- '${artifact}'
- '${artifact}@${digest}'
- --yes

snapshot:
name_template: "{{ .Version }}-next"
Expand All @@ -173,6 +173,7 @@ changelog:
release:
prerelease: auto
extra_files:
- glob: "./cosign.pub"
- glob: ./cosign.pub
- glob: dist/*.sig
footer: |
**Full Changelog**: https://github.com/philips-labs/slsa-provenance-action/compare/{{ .PreviousTag }}...{{ .Tag }}

0 comments on commit a3b7161

Please sign in to comment.