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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user