Skip to content

Commit a8b7f13

Browse files
authored
Merge pull request #83 from dflook/pre-run-e
Execute pre-run commands with -eo pipefail
2 parents 512ac83 + f2de544 commit a8b7f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image/actions.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function execute_run_commands() {
5555
if [[ -n $TERRAFORM_PRE_RUN ]]; then
5656
echo "Executing init commands specified in 'TERRAFORM_PRE_RUN' environment variable"
5757
printf "%s" "$TERRAFORM_PRE_RUN" > /.prerun.sh
58-
bash -x /.prerun.sh
58+
bash -xeo pipefail /.prerun.sh
5959
fi
6060
}
6161

0 commit comments

Comments
 (0)