chore: update docker workflow

This commit is contained in:
Bill Church 2022-07-30 16:13:59 +00:00
parent 3c1bba597d
commit 420332da8d

View file

@ -22,7 +22,7 @@ jobs:
SHORTREF=${GITHUB_SHA::8}
# If this is git tag, use the tag name as a docker tag
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/v}
VERSION=${GITHUB_REF#refs/tags/}
fi
TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}"