Skip to content

Commit

Permalink
Merge pull request #4486 from erikgb/fix-sign
Browse files Browse the repository at this point in the history
ci: fix typo in cosign commands
  • Loading branch information
erikgb authored Jan 11, 2025
2 parents bbf0e02 + 0e17e16 commit c01aa6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ jobs:
if: ${{ github.event_name != 'pull_request' && github.repository == 'weaveworks/weave-gitops' }}
run: |
echo ${{ steps.build.outputs.digest }}
cosign sign --yes --rekor-url "https://rekor.sigstore.dev/" ${{ steps.digest.outputs.digest }}
cosign sign --yes ${{ steps.build.outputs.digest }}
- name: Verify the image signing
if: ${{ github.event_name != 'pull_request' && github.repository == 'weaveworks/weave-gitops' }}
run: |
cosign verify --rekor-url "https://rekor.sigstore.dev/" ${{ steps.digest.outputs.digest }}
cosign verify ${{ steps.build.outputs.digest }}
--certificate-identity "https://github.com/${{ github.workflow_ref }}"
--certificate-oidc-issuer "https://token.actions.githubusercontent.com" | jq .
Expand Down

0 comments on commit c01aa6b

Please sign in to comment.