Skip to content

Commit 6bb1503

Browse files
committed
Fix Docker tag naming: preserve v prefix in semver tags
- Change semver pattern from {{version}} to {{raw}} to preserve v prefix - Ensures Docker tags show as v2.5.0 instead of 2.5.0 - Maintains consistency with GitHub release tags
1 parent 147ce46 commit 6bb1503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ jobs:
111111
tags: |
112112
# Always create latest tag for main branch pushes
113113
type=raw,value=latest,enable={{is_default_branch}}
114-
# Create version tags (v2.2.0) when pushing git tags
115-
type=semver,pattern={{version}}
114+
# Create version tags (v2.5.0) when pushing git tags - preserve v prefix
115+
type=semver,pattern={{raw}}
116116
# Create version tags from pyproject.toml on main branch pushes
117117
type=raw,value=v${{ steps.version.outputs.version }},enable={{is_default_branch}}
118118

0 commit comments

Comments
 (0)