hopefully!
This commit is contained in:
Sandro Jäckel 2019-10-18 11:52:25 +02:00
parent 39fd391e9b
commit 2c1d1cd985
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -32,19 +32,19 @@ else
fi fi
else else
# we are not in CI and tag version and version short # we are not in CI and tag version and version short
TAGS="$DOCKER_REPO:$VERSION -t $DOCKER_REPO:$VERSION_SHORT" TAGS="-t $DOCKER_REPO:$VERSION -t $DOCKER_REPO:$VERSION_SHORT"
fi fi
if [[ -n ${EXTRA_TAG:-} ]]; then if [[ -n ${EXTRA_TAG:-} ]]; then
IFS="," IFS=","
for TAG in $EXTRA_TAG; do for TAG in $EXTRA_TAG; do
TAGS="$TAGS -t $DOCKER_REPO:$EXTRA_TAG" TAGS+=" -t $DOCKER_REPO:$EXTRA_TAG"
done done
fi fi
fi fi
# shellcheck disable=SC2068 # shellcheck disable=SC2068
docker build . -t ${TAGS[@]} eval docker build . ${TAGS[@]}
docker images docker images
if [[ ${TRAVIS_BRANCH:-} ]]; then if [[ ${TRAVIS_BRANCH:-} ]]; then