aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-03-14 16:58:35 -0400
committerPamela Dragosh <pdragosh@research.att.com>2017-03-14 17:00:40 -0400
commit1b5d054b459dda63cdc2788a9bba911cd3ca15a5 (patch)
tree66c7d4d4f436bc9385b07baca6789b78135c3bfd
parentee7de79e0da2c01d273c3e5fc590a712147c3eb7 (diff)
only build 1.0.0 pom.xml tags
Change-Id: I79c9f86eae64710fbd002227d02f34bb155c0b64 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rwxr-xr-xdocker_build.sh6
-rw-r--r--pom.xml2
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 @@
<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>