From 1b5d054b459dda63cdc2788a9bba911cd3ca15a5 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 14 Mar 2017 16:58:35 -0400 Subject: only build 1.0.0 pom.xml tags Change-Id: I79c9f86eae64710fbd002227d02f34bb155c0b64 Signed-off-by: Pamela Dragosh --- docker_build.sh | 6 +++--- pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker_build.sh b/docker_build.sh index daa69e5b..519a8a87 100755 --- a/docker_build.sh +++ b/docker_build.sh @@ -20,8 +20,8 @@ for image in policy-os policy-nexus policy-db policy-base policy-drools policy-p TAGS="--tag openecomp/policy/${image}:latest" TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:latest" - TAGS="${TAGS} --tag openecomp/policy/${image}:${MVN_VERSION}-${TIMESTAMP}" - TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_VERSION}-${TIMESTAMP}" + TAGS="${TAGS} --tag openecomp/policy/${image}:${MVN_VERSION}" + TAGS="${TAGS} --tag ${DOCKER_REPOSITORY}/openecomp/policy/${image}:${MVN_VERSION}" echo $TAGS @@ -32,5 +32,5 @@ done for image in policy-nexus policy-db policy-drools policy-pe; do echo "Pushing $image" # docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:latest - docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_VERSION}-${TIMESTAMP} + docker push ${DOCKER_REPOSITORY}/openecomp/policy/$image:${MVN_VERSION} done diff --git a/pom.xml b/pom.xml index bed0f7a7..9cb9a55a 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ org.openecomp.policy.docker docker - 1.0.0-SNAPSHOT + 1.0.0 pom Docker build OpenECOMP Policy Docker Build -- cgit 1.2.3-korg