Skip to content

Commit

Permalink
build: make docker push conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
artemnbo committed Feb 6, 2025
1 parent 9fd4beb commit c2dc065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ jobs:
uses: docker/build-push-action@v4
with:
context: ./
push: true
push: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
tags: ${{ steps.meta.outputs.tags }}
file: Dockerfile.${{ matrix.target }}

0 comments on commit c2dc065

Please sign in to comment.