Skip to content

Commit 84c5e28

Browse files
authored
Merge pull request #1794 from carvel-dev/cosign-v4-fix
Add --bundle flag for cosign blob sign and verify commands
2 parents 349e83c + f282a94 commit 84c5e28

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/release-process.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ jobs:
135135
136136
### Verify the checksums file
137137
cosign verify-blob checksums.txt \
138-
--certificate checksums.txt.pem \
139-
--signature checksums.txt.sig \
138+
--bundle release/checksums.json \
140139
--certificate-identity-regexp=https://github.com/${{ github.repository_owner }} \
141140
--certificate-oidc-issuer=https://token.actions.githubusercontent.com
142141
\`\`\`
@@ -209,13 +208,12 @@ jobs:
209208
210209
- name: Sign checksums.txt
211210
run: |
212-
cosign sign-blob --yes ./tmp/checksums.txt --output-certificate release/checksums.txt.pem --output-signature release/checksums.txt.sig
211+
cosign sign-blob --yes ./tmp/checksums.txt --bundle release/checksums.json
213212
214213
- name: Verify checksums signature
215214
run: |
216215
cosign verify-blob \
217-
--cert release/checksums.txt.pem \
218-
--signature release/checksums.txt.sig \
216+
--bundle release/checksums.json \
219217
--certificate-identity-regexp=https://github.com/${{ github.repository_owner }} \
220218
--certificate-oidc-issuer=https://token.actions.githubusercontent.com ./tmp/checksums.txt
221219

0 commit comments

Comments
 (0)