From 2c1d1cd98568a1c59b95b2bc5603b784fcd524e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Fri, 18 Oct 2019 11:52:25 +0200 Subject: [PATCH] Fix CI hopefully! --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index d94e3ac..dde3d11 100755 --- a/build.sh +++ b/build.sh @@ -32,19 +32,19 @@ else fi else # 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 if [[ -n ${EXTRA_TAG:-} ]]; then IFS="," for TAG in $EXTRA_TAG; do - TAGS="$TAGS -t $DOCKER_REPO:$EXTRA_TAG" + TAGS+=" -t $DOCKER_REPO:$EXTRA_TAG" done fi fi # shellcheck disable=SC2068 -docker build . -t ${TAGS[@]} +eval docker build . ${TAGS[@]} docker images if [[ ${TRAVIS_BRANCH:-} ]]; then