Skip to content

Commit

Permalink
Merge pull request #91 from openfoodfacts/dont-push-image-on-PR
Browse files Browse the repository at this point in the history
fix: Get 403 errors when pushing from dependabot
  • Loading branch information
john-gom authored Sep 19, 2024
2 parents b7013ef + bd0146e commit 2ce3de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
push: true
push: ${{ github.event_name != 'pull_request' }}
file: Dockerfile
cache-from: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache
cache-to: type=registry,ref=ghcr.io/${{ github.repository }}:buildcache,mode=max
Expand Down

0 comments on commit 2ce3de1

Please sign in to comment.