chore: update docker workflow
This commit is contained in:
parent
3c1bba597d
commit
420332da8d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker-multiplatform.yml
vendored
2
.github/workflows/docker-multiplatform.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
SHORTREF=${GITHUB_SHA::8}
|
SHORTREF=${GITHUB_SHA::8}
|
||||||
# If this is git tag, use the tag name as a docker tag
|
# If this is git tag, use the tag name as a docker tag
|
||||||
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="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}"
|
TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}"
|
||||||
|
|
Loading…
Reference in a new issue