From 74f5aea3da13f47573bff055397c5bbe5e1db55f Mon Sep 17 00:00:00 2001 From: jhh Date: Fri, 26 Apr 2019 12:12:47 -0500 Subject: New BUILD_VERSION needed as fixed in parent image BUILD_VERSION could not be used in ENV variable as it is cooked in the base image itself. Need to create a new one to reflect the drools build to get by. Some minor additional changes as to exit shell when a docker command fails for clarity when executing these operations is added as well. Change-Id: Ic8dfc03bc0563c088d55b1991a0f8c431ab0fab2 Issue-ID: INT-998 Signed-off-by: jhh --- controlloop/build/docker-cl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'controlloop/build') 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}" -- cgit 1.2.3-korg