summaryrefslogtreecommitdiff
path: root/.goreleaser.yml
diff options
context:
space:
mode:
authorMohammed Al Sahaf <msaa1990@gmail.com>2022-09-05 23:57:27 +0300
committerGitHub <noreply@github.com>2022-09-05 20:57:27 +0000
commit0499d9c1c4177503c4a3d8d6bffd5d44e5edd430 (patch)
tree119bee2a5549a2736d47190d42a441b2f33e7640 /.goreleaser.yml
parent5dfa08174ae3af34f10f0c1b5ca69b12a0ec7395 (diff)
ci: add `id-token` permission and update the signing command (#5016)
Diffstat (limited to '.goreleaser.yml')
-rw-r--r--.goreleaser.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
index d4f786d..d3de2b7 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -68,7 +68,7 @@ builds:
signs:
- cmd: cosign
signature: "${artifact}.sig"
- args: ["sign-blob", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output=${signature}", "${artifact}"]
+ args: ["sign-blob", "--output-signature=${signature}", "--output-certificate", "${signature}.pem", "${artifact}"]
artifacts: all
sboms:
- artifacts: binary