mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-13 03:37:10 +01:00
Format
This commit is contained in:
parent
e307b1d537
commit
b5af3130e2
5
build.sh
5
build.sh
@ -2,7 +2,7 @@
|
|||||||
set -eoux pipefail
|
set -eoux pipefail
|
||||||
|
|
||||||
if [[ -z ${1:-} ]] && [[ -n ${CI:-} ]]; then
|
if [[ -z ${1:-} ]] && [[ -n ${CI:-} ]]; then
|
||||||
echo "Usage: ./build.sh \$VERSION_SHORT"
|
echo 'Usage: ./build.sh $VERSION_SHORT'
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ $CI == true ]]; then
|
elif [[ $CI == true ]]; then
|
||||||
VERSION_SHORT="$1"
|
VERSION_SHORT="$1"
|
||||||
@ -41,8 +41,7 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
docker build . -t "${TAGS[@]}"
|
||||||
docker build . -t $TAGS
|
|
||||||
docker images
|
docker images
|
||||||
|
|
||||||
# only push when:
|
# only push when:
|
||||||
|
Loading…
Reference in New Issue
Block a user