diff --git a/build.sh b/build.sh index 1e00ecb..24a9f40 100755 --- a/build.sh +++ b/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: