summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-02-14 16:27:47 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-02-14 16:27:47 -0500
commite2ce95a6c6e152eb5bc164dfe80cbf57afd87afe (patch)
treed76bbef4b4222cbe79b2ecb45175a61a253dcc17 /build.sh
parent13fac75cd115ce484321cac1b079483bc9c58d5f (diff)
downloaddocker-base-e2ce95a6c6e152eb5bc164dfe80cbf57afd87afe.tar.gz
Do not publish "nothing"
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 29f9980..cb4b5d7 100755
--- a/build.sh
+++ b/build.sh
@@ -40,6 +40,13 @@ if [[ -n ${is_tag_latest} ]]; then
fi
docker build ${TAGS[@]} .
+rv=$?
+
+if (( rv > 0 )); then
+ echo "Failed... Image not published"
+ exit $?
+fi
+
max_retry=4
retry=0