From 8f52c0eb2ee0b6c1d5ec782f6d97f5fb772a3a7e Mon Sep 17 00:00:00 2001 From: Lucas Bedatty Date: Wed, 1 Apr 2026 13:44:13 -0300 Subject: [PATCH] fix(build): remove floating minor version tag from Docker metadata The {{major}}.{{minor}} semver pattern (e.g. 1.4) conflicts with DockerHub tag immutability on patch releases. When v1.4.0 is published the 1.4 tag is created and locked, so subsequent patch releases like v1.4.1 fail trying to overwrite it. Remove the floating minor tag, keeping only the exact version tag (e.g. 1.4.1) and the major tag (e.g. 1). --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9363c9d..9636e20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -292,7 +292,6 @@ jobs: images: ${{ steps.image-names.outputs.images }} tags: | type=semver,pattern={{version}},value=${{ steps.version.outputs.version }} - type=semver,pattern={{major}}.{{minor}},value=${{ steps.version.outputs.version }} type=semver,pattern={{major}},value=${{ steps.version.outputs.version }},enable=${{ needs.prepare.outputs.is_release }} - name: Build and push Docker image