Skip to content

Commit

Permalink
Push only for main and release
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebclem committed Aug 26, 2024
1 parent eef0bbf commit 3469908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
- name: Build and push ${{matrix.arch}}
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.event_name == 'release') }}
tags: ${{ steps.meta.outputs.tags }}
labels: |
${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 3469908

Please sign in to comment.