summaryrefslogtreecommitdiffstats
path: root/deliveries/os_docker_release.sh
blob: 95b1c80b411019b2e01f1aebf12546bc2b3e3607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

./run.sh

REPO="nexus3.openecomp.org:10002"

VERSION="1.0.0"
LATEST="latest"

APPS_VERSION="${REPO}/openecomp/portalapps:${VERSION}"
DB_VERSION="${REPO}/openecomp/portaldb:${VERSION}"

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_VERSION}
docker push ${DB_VERSION}
docker push ${APPS_LATEST}
docker push ${DB_LATEST}