summaryrefslogtreecommitdiffstats
path: root/docker_build.sh
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-02-21 09:16:59 -0500
committerPamela Dragosh <pdragosh@research.att.com>2017-02-21 09:17:11 -0500
commit12644d6863ee46a3ab8fb226e4e5079b7d805034 (patch)
tree4ca853faa9c932ced16a8238952195248454bb11 /docker_build.sh
parent1766552905dd91720f2eeabc47269a9478ac8195 (diff)
remove DOCKER_REPOSITORY from tag
Change-Id: I262555304ceb14a8cc1eb0deac43d3dca0a83691 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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 c5174565..30a72035 100644
--- a/docker_build.sh
+++ b/docker_build.sh
@@ -10,11 +10,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 ${DOCKER_REPOSITORY}/openecomp/policy/$image:${DOCKER_VERSION} target/$image
+ docker build --quiet --tag 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 ${DOCKER_REPOSITORY}/openecomp/policy/$image:${DOCKER_VERSION}
+ docker push openecomp/policy/$image:${DOCKER_VERSION}
done