chore(ci): fixes version extraction

This commit is contained in:
Gareth Flowers 2020-09-05 00:21:08 +01:00
parent 255b762a7e
commit 606f478a07

View file

@ -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}"