mirror of
https://github.com/bplein/factorio-docker.git
synced 2025-01-10 03:16:41 +02:00
Format
This commit is contained in:
parent
e307b1d537
commit
b5af3130e2
5
build.sh
5
build.sh
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user