Update docker-release.yml

This commit is contained in:
tooomm 2026-04-29 23:34:09 +02:00 committed by GitHub
parent 911448241f
commit 4e68f76b98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,7 @@ permissions:
# Cancel earlier, unfinished runs of this workflow on the same branch (unless on release)
concurrency:
group: "${{ github.workflow }} @ ${{ github.ref_name }}"
cancel-in-progress: ${{ github.ref_type != 'tag' }}
cancel-in-progress: ${{ github.event_name != 'release' }}
jobs:
docker:
@ -51,7 +51,7 @@ jobs:
uses: docker/setup-buildx-action@v4
- name: Login to GitHub Container Registry
if: github.ref_type == 'tag'
if: contains(github.event.release.tag_name, 'Release')
uses: docker/login-action@v4
with:
registry: ghcr.io