Update test-deploy.yml

This commit is contained in:
Anthony Raymond 2021-07-17 02:54:59 +02:00 committed by GitHub
parent c52069318d
commit f7faee7bb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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