From 64d2f34d7ce8fdf9d0aa27d7a987ae4fccd2326d Mon Sep 17 00:00:00 2001 From: William Torrealba Date: Tue, 19 Sep 2017 16:38:38 +0100 Subject: [PATCH] Adding aws ecr option to avoid docker login error --- 2-containerized/deploy.sh | 2 +- 3-microservices/deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/2-containerized/deploy.sh b/2-containerized/deploy.sh index 255746b..a7a8b58 100755 --- a/2-containerized/deploy.sh +++ b/2-containerized/deploy.sh @@ -36,7 +36,7 @@ VPCID=${RESULTS_ARRAY[4]} printf "${PRIMARY}* Authenticating with EC2 Container Repository${NC}\n"; -`aws ecr get-login --region $REGION` +`aws ecr get-login --region $REGION --no-include-email` # Tag for versioning the container images, currently set to timestamp TAG=`date +%s` diff --git a/3-microservices/deploy.sh b/3-microservices/deploy.sh index 1075deb..91ec3ec 100755 --- a/3-microservices/deploy.sh +++ b/3-microservices/deploy.sh @@ -38,7 +38,7 @@ VPCID=${RESULTS_ARRAY[4]} printf "${PRIMARY}* Authenticating with EC2 Container Repository${NC}\n"; -`aws ecr get-login --region $REGION` +`aws ecr get-login --region $REGION --no-include-email` # Tag for versioning the container images, currently set to timestamp TAG=`date +%s`