From 22eb918fb19f7733b46a12e57d73c0af2d28cf5a Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Sun, 22 Feb 2026 09:58:39 -0500 Subject: [PATCH] fix: use type=raw for Docker tags to preserve v prefix docker/metadata-action type=semver strips the v prefix, causing tag mismatch between git tags (v0.1.3) and Docker tags (0.1.3). Switch to type=raw to pass through the version as-is. --- .gitea/workflows/build-push.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index d94f58c..afe9eb7 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -141,8 +141,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | - type=semver,pattern={{version}},value=${{ needs.release.outputs.version }} - type=semver,pattern={{major}}.{{minor}},value=${{ needs.release.outputs.version }} + type=raw,value=${{ needs.release.outputs.version }} type=raw,value=latest,enable={{is_default_branch}} - name: Build and push