From 2d0f5e8f27df1511b84a0882af640dc25300947e Mon Sep 17 00:00:00 2001 From: Thomas Sauter Date: Thu, 23 Oct 2025 16:40:05 +0200 Subject: [PATCH] refine tagging policies --- .github/workflows/build-monorepo.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-monorepo.yaml b/.github/workflows/build-monorepo.yaml index 5929eca..2d5923d 100644 --- a/.github/workflows/build-monorepo.yaml +++ b/.github/workflows/build-monorepo.yaml @@ -30,6 +30,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\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 type=match,event=tag,pattern=.*v(\\d+\\.\\d+\\.\\d+).*,group=1,prefix=v,optional=true - name: Print (debug) Docker meta JSON