Skip to content

Commit

Permalink
🔧chore: no push docker image on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Marukome0743 committed Dec 31, 2023
1 parent 7a8df88 commit b50d540
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.repository_owner == env.REPOSITORY_OWNER }}
push: ${{ github.repository_owner == env.REPOSITORY_OWNER && github.event_name != 'pull_request_target' }}
load: ${{ github.event_name == 'pull_request_target' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REPOSITORY }}:main
Expand Down

0 comments on commit b50d540

Please sign in to comment.