Skip to content

Commit cc38447

Browse files
committed
Fix cosign sign-blob with --bundle flag for v3 compatibility
The recent update to sigstore/cosign-installer v4.0.0 installs Cosign v3, which introduces a breaking change requiring the --bundle flag when using cosign sign-blob. This fixes the CI failures in the static binary build jobs. Signed-off-by: Sascha Grunert <[email protected]>
1 parent ed66193 commit cc38447

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
run: |
9696
cd ${{ github.sha }}
9797
cosign sign-blob -y conmonrs \
98+
--bundle conmonrs.bundle \
9899
--output-signature conmonrs.sig \
99100
--output-certificate conmonrs.cert
100101
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
@@ -168,6 +169,7 @@ jobs:
168169
run: |
169170
cd ${{ github.sha }}
170171
cosign sign-blob -y conmonrs.${{ matrix.arch }} \
172+
--bundle conmonrs.${{ matrix.arch }}.bundle \
171173
--output-signature conmonrs.${{ matrix.arch }}.sig \
172174
--output-certificate conmonrs.${{ matrix.arch }}.cert
173175
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0

0 commit comments

Comments
 (0)