mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-05 00:52:59 +01:00
✏️ [CI/CD] Fix push on tag
This commit is contained in:
parent
fc65343045
commit
f69606b26f
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}}
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/tags/*' }}
|
||||
push: ${{ github.ref == 'refs/heads/master' || startsWith('refs/tags/', github.ref) }}
|
||||
context: ./${{env.TARGET}}
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user