Created
March 21, 2022 14:51
-
-
Save developer-guy/b0eabdb840436a35868505e6ea47b756 to your computer and use it in GitHub Desktop.
GoReleaser setting to sign blob
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# signs the checksum file | |
# all files (including the sboms) are included in the checksum, so we don't need to sign each one if we don't want to | |
# https://goreleaser.com/customization/sign | |
signs: | |
- cmd: cosign | |
env: | |
- COSIGN_EXPERIMENTAL=1 | |
certificate: '${artifact}.pem' | |
args: | |
- sign-blob | |
- '--output-certificate=${certificate}' | |
- '--output-signature=${signature}' | |
- '${artifact}' | |
artifacts: checksum | |
output: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment