Skip to content

Commit

Permalink
Prevent DockerHub push on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed May 5, 2024
1 parent 3591e17 commit 15b16e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: Build and push
uses: docker/bake-action@v4
with:
push: true
push: ${{ github.event_name != 'pull_request' }}
set: |
*.cache-from=type=gha
*.cache-to=type=gha,mode=max

0 comments on commit 15b16e4

Please sign in to comment.