diff options
Diffstat (limited to 'deliveries/os_docker_release.sh')
-rwxr-xr-x | deliveries/os_docker_release.sh | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/deliveries/os_docker_release.sh b/deliveries/os_docker_release.sh index ba4ba235..91b5e187 100755 --- a/deliveries/os_docker_release.sh +++ b/deliveries/os_docker_release.sh @@ -1,5 +1,8 @@ #!/bin/bash +# Establish environment variables +source $(dirname $0)/os_settings.sh + ./run.sh REPO="nexus3.onap.org:10003" @@ -10,18 +13,28 @@ LATEST="1.1-STAGING-latest" APPS_VERSION="${REPO}/openecomp/portalapps:${VERSION}" DB_VERSION="${REPO}/openecomp/portaldb:${VERSION}" +WMS_VERSION="${REPO}/openecomp/portalwms:${VERSION}" APPS_LATEST="${REPO}/openecomp/portalapps:${LATEST}" DB_LATEST="${REPO}/openecomp/portaldb:${LATEST}" +WMS_LATEST="${REPO}/openecomp/portalwms:${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} +docker tag ${EP_IMG_NAME} ${APPS_VERSION} +docker tag ${EP_IMG_NAME} ${APPS_LATEST} + +docker tag ${DB_IMG_NAME} ${DB_VERSION} +docker tag ${DB_IMG_NAME} ${DB_LATEST} + +docker tag ${WMS_IMG_NAME} ${WMS_VERSION} +docker tag ${WMS_IMG_NAME} ${WMS_LATEST} # push docker push ${APPS_VERSION} -docker push ${DB_VERSION} docker push ${APPS_LATEST} + +docker push ${DB_VERSION} docker push ${DB_LATEST} + +docker push ${WMS_VERSION} +docker push ${WMS_LATEST} |