X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=deliveries%2Fos_docker_release.sh;h=95b1c80b411019b2e01f1aebf12546bc2b3e3607;hb=1ba915bb1d5d94320278718e014737ade8ff6750;hp=6bcbfb663f8825f445df7aa46f288b892d50822a;hpb=b10edf91b69598626d6d1628d5ab873261118456;p=portal.git 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