diff options
Diffstat (limited to 'jjb/policy/include-raw-docker.sh')
-rw-r--r-- | jjb/policy/include-raw-docker.sh | 9 |
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..73581076e 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_REPOSITORY=nexus3.openecomp.org:10003 + for image in policy-os policy-nexus policy-db policy-base policy-drools policy-pe ; do + echo "Building $image" mkdir -p target/$image cp $image/* target/$image - docker build --quiet --tag ${DOCKER_REPOSITORY}/policy/$image target/$image + docker build --quiet --tag ${DOCKER_REPOSITORY}/openecomp/policy:$image target/$image done for image in policy-nexus policy-db policy-drools policy-pe; do - docker push ${DOCKER_REPOSITORY}/policy/$image + echo "Pushing $image" + docker push ${DOCKER_REPOSITORY}/openecomp/policy:$image done |