Skip to content

Commit

Permalink
Merge pull request #31 from janfuhrer/ci/improve-release-5
Browse files Browse the repository at this point in the history
ci: only sign checksum file, add certificate artifact
  • Loading branch information
janfuhrer authored Apr 24, 2024
2 parents 5915e50 + 9c93b4c commit 41c5723
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,17 @@ checksum:
name_template: 'checksums.txt'
algorithm: sha256

# sign the artifacts
# sign checksum file (cosign keyless)
signs:
- cmd: cosign
args:
- "sign-blob"
- "--output-signature=${signature}"
- "${artifact}"
- "--output-pem=${certificate}"
- "--yes"
artifacts: all
artifacts: checksum
certificate: '${artifact}.pem'

release:
# allow pre-release versions (e.g. by tagging with v1.0.0-rc0)
Expand Down
File renamed without changes.

0 comments on commit 41c5723

Please sign in to comment.