From 8b9c374c284290c395d6b0cadfb01d81a47042a9 Mon Sep 17 00:00:00 2001 From: "Billy D." Date: Sun, 22 Feb 2026 09:58:44 -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 66e648c..6c3a4c9 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -134,8 +134,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