Fix small mistake in github builds

This commit is contained in:
Viktor Strate Kløvedal
2020-08-15 15:41:05 +02:00
committed by GitHub
parent fadfc396ad
commit b54b04265e

View File

@@ -42,6 +42,7 @@ jobs:
VERSION=nightly
fi
TAGS="--tag ${DOCKER_IMAGE}:${VERSION}"
if [[ $VERSION =~ ^(([0-9]{1,3})\.[0-9]{1,3})\.[0-9]{1,3}$ ]]; then
VERSION_MINOR=${BASH_REMATCH[1]}
VERSION_MAJOR=${BASH_REMATCH[2]}