chore(ci): fixes version extraction
This commit is contained in:
parent
255b762a7e
commit
606f478a07
1 changed files with 1 additions and 1 deletions
2
.github/workflows/publish-docker-images.yml
vendored
2
.github/workflows/publish-docker-images.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
||||||
VERSION=latest
|
VERSION=latest
|
||||||
|
|
||||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||||
VERSION=${GITHUB_REF#refs/tags/v}
|
VERSION=${GITHUB_REF#refs/tags/}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TAGS="--tag ${DOCKER_IMAGE}:${VERSION}"
|
TAGS="--tag ${DOCKER_IMAGE}:${VERSION}"
|
||||||
|
|
Loading…
Reference in a new issue