follow docker docs for latest and extract short semver from our tags

This commit is contained in:
tooomm 2026-08-21 21:09:48 +02:00 • committed by GitHub
parent 4d7343fe70
commit 70b7f3c710
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"