1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2025-01-10 03:16:41 +02:00
This commit is contained in:
Sandro Jäckel 2019-10-18 10:51:06 +02:00
parent e307b1d537
commit b5af3130e2
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -2,7 +2,7 @@
set -eoux pipefail
if [[ -z ${1:-} ]] && [[ -n ${CI:-} ]]; then
echo "Usage: ./build.sh \$VERSION_SHORT"
echo 'Usage: ./build.sh $VERSION_SHORT'
exit 1
elif [[ $CI == true ]]; then
VERSION_SHORT="$1"
@ -41,8 +41,7 @@ else
fi
fi
# shellcheck disable=SC2086
docker build . -t $TAGS
docker build . -t "${TAGS[@]}"
docker images
# only push when: