feat: harden tag pattern matches on standalone versions

This commit is contained in:
Thomas Sauter 2025-10-24 11:35:13 +02:00
parent 4c742dcf06
commit 0b09b4159c
Signed by: thomas.sauter
GPG key ID: 015161F81E6A3C65

View file

@ -26,8 +26,8 @@ jobs:
tags: |
type=ref,event=branch,branch=dev,suffix=-{{sha}},optional=true
type=ref,event=branch,branch=dev,value=dev,optional=true
type=match,event=tag,pattern=v(.*),group=1,prefix=v,optional=true
type=match,event=tag,pattern=v(.*),value=latest,optional=true
type=match,event=tag,pattern=v(\d+\.\d+\.\d+(?:-[\w\d.-]+)?),group=1,prefix=v,optional=true
type=match,event=tag,pattern=v(\d+\.\d+\.\d+(?:-[\w\d.-]+)?),value=latest,optional=true
- name: Print (debug) Docker meta JSON
uses: https://github.com/actions/github-script@v8