summaryrefslogtreecommitdiffstats
path: root/docker_verify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker_verify.sh')
-rwxr-xr-xdocker_verify.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker_verify.sh b/docker_verify.sh
index 3037e24f..cdb42e9d 100755
--- a/docker_verify.sh
+++ b/docker_verify.sh
@@ -59,6 +59,13 @@ for image in policy-os policy-nexus policy-db policy-base policy-drools policy-p
echo $TAGS
docker build --quiet $TAGS target/$image
+
+ if [ $? -ne 0 ]
+ then
+ echo "Docker build failed"
+ docker images
+ exit 1
+ fi
done
docker images