Skip to content

Commit 64cc91c

Browse files
authored
Update build-image-signed-cosign-malicious.yml
1 parent 54c0eb2 commit 64cc91c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-image-signed-cosign-malicious.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ jobs:
2424
echo "# This is a malicious update" >> app.py
2525
2626
- name: Install Cosign
27-
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
28-
with:
29-
cosign-release: 'v2.1.1'
27+
uses: sigstore/cosign-installer@v3.3.0
3028

3129
- name: Setup Docker buildx
3230
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
@@ -60,5 +58,6 @@ jobs:
6058
env:
6159
DIGEST: ${{ steps.build-and-push.outputs.digest }}
6260
run: |
61+
cosign version
6362
echo "ghcr.io/${{ github.repository }}:daily" | xargs -I {} cosign sign --yes {}@${DIGEST}
6463
echo "ghcr.io/${{ github.repository }}:latest" | xargs -I {} cosign sign --yes {}@${DIGEST}

0 commit comments

Comments
 (0)