mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-05-07 05:58:13 -05:00
Update docker-release.yml
This commit is contained in:
parent
911448241f
commit
4e68f76b98
4
.github/workflows/docker-release.yml
vendored
4
.github/workflows/docker-release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user