summaryrefslogtreecommitdiffstats
path: root/controlloop/build/docker-cl
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/build/docker-cl')
-rw-r--r--controlloop/build/docker-cl2
1 files changed, 2 insertions, 0 deletions
diff --git a/controlloop/build/docker-cl b/controlloop/build/docker-cl
index 7fd0c53a8..6a5363366 100644
--- a/controlloop/build/docker-cl
+++ b/controlloop/build/docker-cl
@@ -48,6 +48,7 @@ function build {
chmod 755 "${IMAGE_PATH}"/*.sh
(
+ set -e
set -x;
docker pull "${DOCKER_PULL_REPOSITORY}"/onap/policy-drools:"${MAJOR_MINOR_VERSION}"-latest
docker tag "${DOCKER_PULL_REPOSITORY}"/onap/policy-drools:"${MAJOR_MINOR_VERSION}"-latest onap/policy-drools:"${MAJOR_MINOR_VERSION}"-latest
@@ -78,6 +79,7 @@ function push {
fi
(
+ set -e;
set -x;
for tag in "$@"; do
docker push "${tag}"