summaryrefslogtreecommitdiffstats
path: root/jjb/policy
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-02-19 20:52:22 -0500
committerPamela Dragosh <pdragosh@research.att.com>2017-02-19 22:36:26 -0500
commit743078b9bbc39171e61adf2105ed2aa0c5ec996f (patch)
treea03ea7abc19035a015d05f92683bf048f2564721 /jjb/policy
parent596787c9792b1537904df3424a6eecbfe1035626 (diff)
need DOCKER_REPOSITORY set
Change-Id: I6937a3e3ca7610ef16e7ee31ec387f2f0ca6fafb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'jjb/policy')
-rw-r--r--jjb/policy/include-raw-docker.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/jjb/policy/include-raw-docker.sh b/jjb/policy/include-raw-docker.sh
index 642d8c23b..a2e55bef8 100644
--- a/jjb/policy/include-raw-docker.sh
+++ b/jjb/policy/include-raw-docker.sh
@@ -2,12 +2,17 @@
#
echo '============== STARTING SCRIPT TO BUILD DOCKER IMAGES ================='
+
+DOCKER_REPOSITORIES="nexus3.openecomp.org:10001 \
+ nexus3.openecomp.org:10002 \
+ nexus3.openecomp.org:10003"
+
for image in policy-os policy-nexus policy-db policy-base policy-drools policy-pe ; do
mkdir -p target/$image
cp $image/* target/$image
- docker build --quiet --tag ${DOCKER_REPOSITORY}/policy/$image target/$image
+ docker build --quiet --tag ${DOCKER_REPOSITORY}/policy:$image target/$image
done
for image in policy-nexus policy-db policy-drools policy-pe; do
- docker push ${DOCKER_REPOSITORY}/policy/$image
+ docker push ${DOCKER_REPOSITORY}/policy:$image
done