Skip to content

Commit

Permalink
changing cosign certificate identity url to use github.repository so …
Browse files Browse the repository at this point in the history
…the action can work properly in forks

Signed-off-by: Adam D. Cornett <adc@redhat.com>
  • Loading branch information
acornett21 committed Apr 19, 2024
1 parent c2dad86 commit 4a0c6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ jobs:
if: ${{ inputs.sign == true && github.event.release && github.event.action == 'published' }}
run: |
cosign verify \
--certificate-identity https://github.com/redhat-openshift-ecosystem/openshift-preflight/.github/workflows/build-multiarch.yml@refs/tags/${{ inputs.tag }} \
--certificate-identity https://github.com/${{ github.repository }}/.github/workflows/build-multiarch.yml@refs/tags/${{ inputs.tag }} \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
${{ secrets.registry }}/${{ inputs.name }}:${{ inputs.tag }}

0 comments on commit 4a0c6b9

Please sign in to comment.