mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-26 02:48:23 +01:00
Fix CI
hopefully!
This commit is contained in:
parent
39fd391e9b
commit
2c1d1cd985
6
build.sh
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user