mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-08-19 06:04:56 +02:00
✏️ [CI/CD] Don't push on PR
This commit is contained in:
parent
65744ad42c
commit
47b8fb65d1
2
.github/workflows/build_addon.yml
vendored
2
.github/workflows/build_addon.yml
vendored
@ -82,7 +82,7 @@ jobs:
|
|||||||
- name: Build and push ${{matrix.arch}}
|
- name: Build and push ${{matrix.arch}}
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
push: true
|
push: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/tags/*' }}
|
||||||
context: ./${{env.TARGET}}
|
context: ./${{env.TARGET}}
|
||||||
tags: ${{env.TAGS}}
|
tags: ${{env.TAGS}}
|
||||||
labels: io.hass.name=${{env.NAME}}, io.hass.description=${{env.DESCRIPTION}}, io.hass.url=${{env.URL}}, io.hass.arch=${{matrix.arch}}, io.hass.version=${{env.VERSION}}, io.hass.type=addon
|
labels: io.hass.name=${{env.NAME}}, io.hass.description=${{env.DESCRIPTION}}, io.hass.url=${{env.URL}}, io.hass.arch=${{matrix.arch}}, io.hass.version=${{env.VERSION}}, io.hass.type=addon
|
||||||
|
Loading…
Reference in New Issue
Block a user