mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 22:32:39 +01:00
update shellcheck
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
3
test.sh
3
test.sh
@@ -24,6 +24,7 @@ validate_diff() {
|
||||
|
||||
# get the dockerfiles changed
|
||||
IFS=$'\n'
|
||||
# shellcheck disable=SC2207
|
||||
files=( $(validate_diff --name-only -- '*Dockerfile') )
|
||||
unset IFS
|
||||
|
||||
@@ -44,7 +45,7 @@ for f in "${files[@]}"; do
|
||||
|
||||
(
|
||||
set -x
|
||||
docker build -t ${base}:${suite} ${build_dir}
|
||||
docker build -t "${base}:${suite}" "${build_dir}"
|
||||
)
|
||||
|
||||
echo " --- "
|
||||
|
||||
Reference in New Issue
Block a user