Skip to content

Commit 6836c98

Browse files
committed
fixed extracting version from tag
1 parent 33281c7 commit 6836c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dockerpublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
BRANCH_NAME=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
5959
if [[ "${{ github.ref }}" == "refs/tags/"* ]]; then
6060
# Strip "v" prefix from tag name
61-
VERSION=$(echo $VERSION | sed -e 's/^v//')
61+
VERSION=$(echo $BRANCH_NAME | sed -e 's/^v//')
6262
LATEST_TAG="--tag ${IMAGE_ID}:latest"
6363
else
6464
FULL_SHA=${{ github.sha }}

0 commit comments

Comments
 (0)