From 3a920661e75a63d8316d433772b33eb6caf97730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 16 May 2026 09:39:33 +0200 Subject: [PATCH] ci(image): tag four-segment versions on the multi-arch manifest The metadata-action semver patterns only match `vMAJOR.MINOR.PATCH`, so a tag push for a hotfix like `v1.4.28.1` produced only the `sha-` manifest and no version-named tag. Deploys that pull `ghcr.io/mbombeck/healthlog:1.4.28.1` then fail with a `manifest unknown`. Adding `type=match,pattern=v(.+),group=1` publishes the tag with the leading `v` stripped, matching the established three-segment naming on prior releases. `type=ref,event=tag` is a belt-and-braces fallback that also keeps the raw tag (`v1.4.28.1`) addressable. --- .github/workflows/docker-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5aa60a63e..bf362d4a8 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -262,6 +262,8 @@ jobs: type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} + type=match,pattern=v(.+),group=1 + type=ref,event=tag type=raw,value=latest,enable={{is_default_branch}} type=sha,prefix=sha-,format=short labels: |