Tag Image for Repo push in Script
Issue-ID: AAF-433
Change-Id: Ifd25242465dd5d202400bafd814db445a01d24f7
Signed-off-by: Instrumental <jonathan.gathman@att.com>
diff --git a/auth/docker/dbuild.sh b/auth/docker/dbuild.sh
index da0b9b6..e3d4942 100755
--- a/auth/docker/dbuild.sh
+++ b/auth/docker/dbuild.sh
@@ -45,6 +45,7 @@
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