Skip to content

Commit 478228f

Browse files
authored
Update build-image-signed-cosign-static.yml
1 parent 3fbd379 commit 478228f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ jobs:
2020
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
2121

2222
- name: Install Cosign
23-
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
24-
with:
25-
cosign-release: 'v2.1.1'
23+
uses: sigstore/[email protected]
2624

2725
- name: Setup Docker buildx
2826
uses: docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
@@ -54,4 +52,5 @@ jobs:
5452
env:
5553
DIGEST: ${{ steps.build-and-push.outputs.digest }}
5654
run: |
55+
cosign version
5756
echo "ghcr.io/${{ github.repository }}:static" | xargs -I {} cosign sign --yes {}@${DIGEST}

0 commit comments

Comments
 (0)