Skip to content

Commit

Permalink
Set pipefail to force error when docker build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
whoan committed Mar 7, 2020
1 parent 021a266 commit e37b43b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ build_image() {
fi

# build image using cache
set -o pipefail
set -x
docker build \
$cache_from \
Expand Down

0 comments on commit e37b43b

Please sign in to comment.