From: Eduardo Ramos Testillano (eramedu) Date: Wed, 13 May 2020 16:32:39 +0000 (+0200) Subject: Add error condition when building image X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=7534cac01e653408d47ce0fc2ef379eefdfc1891;p=anna.git Add error condition when building image Exit if any fail happens. --- diff --git a/tools/build-adml-http b/tools/build-adml-http index 5f635c2..cdb9fce 100755 --- a/tools/build-adml-http +++ b/tools/build-adml-http @@ -25,7 +25,7 @@ echo ${AD} | ${REPO_DIR}/example/diameter/launcher/deploy-adml-http.sh echo echo "Generate docker image ..." -build_image ${IMAGEDIR} ${TAG} ${IMAGEDIR} +build_image ${IMAGEDIR} ${TAG} ${IMAGEDIR} || exit 1 echo echo "Done !"