mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-09 19:12:58 +01:00
Push only for main and release
This commit is contained in:
parent
eef0bbf78a
commit
3469908fc7
2
.github/workflows/build_addon.yml
vendored
2
.github/workflows/build_addon.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user