Skip to content

Commit

Permalink
chore: do not sign images on PR builds (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Oct 17, 2023
1 parent d9b3bf0 commit 11f6f9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
- name: Sign Image
uses: ./.github/actions/sign-image
if: github.event_name != 'pull_request'
with:
registry: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
digest: ${{ steps.build.outputs.digest }}
Expand Down Expand Up @@ -178,6 +179,7 @@ jobs:
- name: Sign Image
uses: ./.github/actions/sign-image
if: github.event_name != 'pull_request'
with:
registry: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
digest: ${{ steps.build.outputs.digest }}
Expand Down

0 comments on commit 11f6f9a

Please sign in to comment.