summaryrefslogtreecommitdiffstats
path: root/controlloop/build
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-07 12:42:58 -0600
committerJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-07 12:42:58 -0600
commit6eef0271414f077f03f836bbbded3b0fcb60f60c (patch)
treeca5e813911ff960d2bd88a8d48f5fa7331d58c64 /controlloop/build
parent4ea31d702c4ae516b34f2e1f2a0e8ee468b9f73b (diff)
Pull right version of pdpd image in docker-cl
Change-Id: I0064001d2eb5872e5df357be3530c4841e26e1af Issue-ID: POLICY-1560 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'controlloop/build')
-rw-r--r--controlloop/build/docker-cl4
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/build/docker-cl b/controlloop/build/docker-cl
index 663b1f4b1..6c1d65fbf 100644
--- a/controlloop/build/docker-cl
+++ b/controlloop/build/docker-cl
@@ -47,8 +47,8 @@ function build {
(
set -x;
- docker pull "${DOCKER_PULL_REPOSITORY}"/onap/policy-drools
- docker tag "${DOCKER_PULL_REPOSITORY}"/onap/policy-drools onap/policy-drools
+ 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
docker build ${BUILD_ARGS} ${tags} ${IMAGE_PATH}
)