Fixed "latest" tag

The variable for the latest tag didn't contain all the needed values.
This commit is contained in:
Tobias Genannt 2020-04-09 09:04:20 +02:00
parent 231de236e0
commit 5909670690

View File

@ -229,7 +229,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
MINOR=${BASH_REMATCH[2]}
TARGET_DOCKER_SHORT_TAG="${DOCKER_SHORT_TAG-${DOCKER_REGISTRY}/${DOCKER_ORG}/${DOCKER_REPO}:v${MAJOR}.${MINOR}}"
TARGET_DOCKER_LATEST_TAG="latest"
TARGET_DOCKER_LATEST_TAG="${DOCKER_REGISTRY}/${DOCKER_ORG}/${DOCKER_REPO}:latest"
if [ "${DOCKER_TARGET}" != "main" ]; then
TARGET_DOCKER_SHORT_TAG="${TARGET_DOCKER_SHORT_TAG}-${DOCKER_TARGET}"