Skip to content

Commit

Permalink
GitHub Action: only sign non-pull-reguest images
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbohl committed Feb 13, 2025
1 parent 391f544 commit e88c640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jobs:
# against the sigstore community Fulcio instance.
# run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
- name: Sign the images with GitHub OIDC Token
if: ${{ github.event_name != 'pull_request' }}
env:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
TAGS: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit e88c640

Please sign in to comment.