summaryrefslogtreecommitdiffstats
path: root/deliveries/os_docker_release.sh
diff options
context:
space:
mode:
authortalasila <talasila@research.att.com>2017-02-22 12:03:21 -0500
committertalasila <talasila@research.att.com>2017-02-22 12:03:49 -0500
commit1ba915bb1d5d94320278718e014737ade8ff6750 (patch)
tree9b574ac2b75e1ffc866d560f868238e7e4feb02e /deliveries/os_docker_release.sh
parentb10edf91b69598626d6d1628d5ab873261118456 (diff)
latest version is added to docker
Change-Id: I4ed035a361fce3fa80d839e711d313d8e3450d1e Signed-off-by: talasila <talasila@research.att.com>
Diffstat (limited to 'deliveries/os_docker_release.sh')
-rw-r--r--deliveries/os_docker_release.sh24
1 files changed, 16 insertions, 8 deletions
diff --git a/deliveries/os_docker_release.sh b/deliveries/os_docker_release.sh
index 6bcbfb66..95b1c80b 100644
--- a/deliveries/os_docker_release.sh
+++ b/deliveries/os_docker_release.sh
@@ -4,15 +4,23 @@
REPO="nexus3.openecomp.org:10002"
-APPS="${REPO}/openecomp/portalapps:1.0.0"
-DB="${REPO}/openecomp/portaldb:1.0.0"
+VERSION="1.0.0"
+LATEST="latest"
-# docker login nexus3.openecomp.org:10002
+APPS_VERSION="${REPO}/openecomp/portalapps:${VERSION}"
+DB_VERSION="${REPO}/openecomp/portaldb:${VERSION}"
-# tag
-docker tag ep:1610-1 ${APPS}
-docker tag ecompdb:portal ${DB}
+APPS_LATEST="${REPO}/openecomp/portalapps:${LATEST}"
+DB_LATEST="${REPO}/openecomp/portaldb:${LATEST}"
+
+# tag version
+docker tag ep:1610-1 ${APPS_VERSION}
+docker tag ecompdb:portal ${DB_VERSION}
+docker tag ep:1610-1 ${APPS_LATEST}
+docker tag ecompdb:portal ${DB_LATEST}
# push
-docker push ${APPS}
-docker push ${DB} \ No newline at end of file
+docker push ${APPS_VERSION}
+docker push ${DB_VERSION}
+docker push ${APPS_LATEST}
+docker push ${DB_LATEST} \ No newline at end of file