Skip to content

Commit 02bf68b

Browse files
coopernetesclaude
andcommitted
fix: strip v prefix from Docker image tags on release
GITHUB_REF_NAME includes the v prefix (e.g. v1.0.0-rc.4); Docker image tags should not (e.g. 1.0.0-rc.4). Regression introduced in 78758f6. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 7b6e67d commit 02bf68b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200

201201
- name: Promote build image to release tags
202202
run: |
203-
VERSION=${GITHUB_REF_NAME}
203+
VERSION=${GITHUB_REF_NAME#v}
204204
SOURCE="${IMAGE}@${{ steps.build.outputs.digest }}"
205205
206206
if [[ "${VERSION}" == *-* ]]; then

0 commit comments

Comments
 (0)