mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
follow docker docs for latest and extract short semver from our tags
This commit is contained in:
parent
4d7343fe70
commit
70b7f3c710
1 changed files with 3 additions and 2 deletions
5
.github/workflows/docker-release.yml
vendored
5
.github/workflows/docker-release.yml
vendored
|
|
@ -145,9 +145,10 @@ jobs:
|
|||
uses: docker/metadata-action@v6
|
||||
with:
|
||||
images: ${{ env.GHCR_IMAGE }}
|
||||
flavor: |
|
||||
latest=auto
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=ref,event=tag
|
||||
type=match,pattern=^\d{4}-\d{2}-\d{2}-Release-(\d+\.\d+\.\d+)$,group=1 # if semver: type=ref,event=tag and type=semver,pattern={{version}} / {{major}}.{{minor}}
|
||||
|
||||
# Add OCI annotations to image index and publish tags
|
||||
- name: "Create image index"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue