Skip to content

Commit 5ca4c11

Browse files
authored
Update docker-image.yml
1 parent e2bbd13 commit 5ca4c11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: vars
2828
run: |
2929
if ("${{ github.event_name }}" -eq "workflow_dispatch") {
30-
echo "DOCKER_TAG=${{ github.event.inputs.tag }}" >> $env:GITHUB_OUTPUT
30+
echo "DOCKER_TAG=$('${{ github.event.inputs.tag }}' -replace '^v', '' -replace '\.\w+$', '')" >> $env:GITHUB_OUTPUT
3131
} else {
3232
echo "DOCKER_TAG=$('${{ github.ref_name }}' -replace '^v', '' -replace '\.\w+$', '')" >> $env:GITHUB_OUTPUT
3333
}

0 commit comments

Comments
 (0)