Skip to content

Commit

Permalink
ci: Only push from main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Dec 21, 2023
1 parent 055e0f7 commit bb48354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
push: true
push: ${{ github.secret_source == 'Actions' && github.ref_name == 'main' }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit bb48354

Please sign in to comment.