diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 499a73cf..3f9f1e8d 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -19,5 +19,8 @@ jobs: run: | # find the build.sh scripts and execute them echo "Running all build.sh scripts in repo" - find . -iname 'build.sh' -exec ./{} \; + for f in $(find . -iname 'build.sh') + do + $f || exit 1 + done echo "Done running build.sh scripts" \ No newline at end of file