Skip to content

Commit 1984854

Browse files
committed
Update cosign command
Update cosign command according to https://goreleaser.com/blog/cosign-v3/
1 parent 027220f commit 1984854

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.goreleaser.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,12 @@ checksum:
150150

151151
signs:
152152
- cmd: cosign
153-
signature: "${artifact}.sig"
154-
certificate: "${artifact}.pem"
155-
args: ["sign-blob", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}", "--yes"]
153+
signature: "${artifact}.sigstore.json"
154+
args:
155+
- "sign-blob"
156+
- "--bundle=${signature}"
157+
- "${artifact}"
158+
- "--yes"
156159
artifacts: all
157160

158161
publishers:

0 commit comments

Comments
 (0)