diff --git a/content/prerequisites/bootstrapsh.md b/content/prerequisites/bootstrapsh.md index 9e055be..3fb91cd 100644 --- a/content/prerequisites/bootstrapsh.md +++ b/content/prerequisites/bootstrapsh.md @@ -142,7 +142,7 @@ cat > ~/environment/scripts/build-containers <<-"EOF" CRYSTAL_ECR_REPO=$(jq < cfn-output.json -r '.CrystalEcrRepo') NODEJS_ECR_REPO=$(jq < cfn-output.json -r '.NodeJSEcrRepo') -$(aws ecr get-login --no-include-email) +aws ecr get-login-password --region ${AWS_REGION} | docker login --username AWS --password-stdin $CRYSTAL_ECR_REPO docker build -t crystal-service ecsdemo-crystal docker tag crystal-service:latest $CRYSTAL_ECR_REPO:vanilla