Skip to content

Commit

Permalink
ci: Verify image at time of signing
Browse files Browse the repository at this point in the history
Signed-off-by: Víctor Cuadrado Juan <[email protected]>
Co-authored-by: José Guilherme Vanz <[email protected]>
  • Loading branch information
viccuad and jvanz committed Oct 8, 2024
1 parent e31e787 commit 6066471
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/sign-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ jobs:
run: |
cosign sign --yes \
ghcr.io/${{github.repository_owner}}/kubewarden-controller@${{ inputs.image-digest }}
cosign verify \
--certificate-oidc-issuer=https://token.actions.githubusercontent.com \
--certificate-identity-regexp="https://github.com/${{github.repository_owner}}/kubewarden-controller*" \
ghcr.io/${{github.repository_owner}}/kubewarden-controller@${{ inputs.image-digest }}

0 comments on commit 6066471

Please sign in to comment.