aboutsummaryrefslogtreecommitdiffstats
path: root/docker_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker_build.sh')
-rw-r--r--docker_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker_build.sh b/docker_build.sh
index 5c9946f0..001a2c0d 100644
--- a/docker_build.sh
+++ b/docker_build.sh
@@ -13,11 +13,11 @@ for image in policy-os policy-nexus policy-db policy-base policy-drools policy-p
echo "Building $image"
mkdir -p target/$image
cp $image/* target/$image
- docker build --quiet --tag openecomp/policy/$image:${DOCKER_VERSION} target/$image
+ docker build --quiet --tag openecomp/policy/$image:${DOCKER_VERSION} --tag ${DOCKER_REPOSITORY}/openecomp/policy/$image:${DOCKER_VERSION} target/$image
docker images
done
for image in policy-nexus policy-db policy-drools policy-pe; do
echo "Pushing $image"
- docker push openecomp/policy/$image:${DOCKER_VERSION}
+ docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${DOCKER_VERSION}
done