diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-03-14 16:58:35 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-03-14 17:00:40 -0400 |
commit | 1b5d054b459dda63cdc2788a9bba911cd3ca15a5 (patch) | |
tree | 66c7d4d4f436bc9385b07baca6789b78135c3bfd | |
parent | ee7de79e0da2c01d273c3e5fc590a712147c3eb7 (diff) |
only build 1.0.0 pom.xml tags
Change-Id: I79c9f86eae64710fbd002227d02f34bb155c0b64
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rwxr-xr-x | docker_build.sh | 6 | ||||
-rw-r--r-- | 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 @@ -26,7 +26,7 @@ <groupId>org.openecomp.policy.docker</groupId> <artifactId>docker</artifactId> - <version>1.0.0-SNAPSHOT</version> + <version>1.0.0</version> <packaging>pom</packaging> <name>Docker build</name> <description>OpenECOMP Policy Docker Build</description> |