summaryrefslogtreecommitdiffstats
path: root/auth/docker/dbuild.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-08-14 13:55:32 -0500
committerInstrumental <jonathan.gathman@att.com>2018-08-14 13:55:40 -0500
commit567a963d429b04f61692885dc0cd78bdd40210db (patch)
tree4ba6a16945e7b7e9f8cc15b4106e7d4fa4668ee7 /auth/docker/dbuild.sh
parentffc0215047407cce0f30ca609195658d9efe8715 (diff)
Tag Image for Repo push in Script
Issue-ID: AAF-433 Change-Id: Ifd25242465dd5d202400bafd814db445a01d24f7 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/docker/dbuild.sh')
-rwxr-xr-xauth/docker/dbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth/docker/dbuild.sh b/auth/docker/dbuild.sh
index da0b9b64..e3d49429 100755
--- a/auth/docker/dbuild.sh
+++ b/auth/docker/dbuild.sh
@@ -45,6 +45,7 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do
sed -e 's/${AAF_VERSION}/'${VERSION}'/g' -e 's/${AAF_COMPONENT}/'${AAF_COMPONENT}'/g' Dockerfile.ms >../aaf_${VERSION}/Dockerfile
cd ..
docker build -t ${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} aaf_${VERSION}
+ docker tag ${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION} ${DOCKER_REPOSITORY}/${ORG}/${PROJECT}/aaf_${AAF_COMPONENT}:${VERSION}
rm aaf_${VERSION}/Dockerfile
cd -
done