Skip to content

Commit

Permalink
fix login command
Browse files Browse the repository at this point in the history
  • Loading branch information
atqy committed Aug 16, 2022
1 parent ec8b8e9 commit ba8d5ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"fi\n",
"\n",
"# Get the login command from ECR and execute it directly\n",
"aws ecr get-login-password --region ${region}|docker login --username AWS --password-stdin ${fullname}\n",
"!$(aws ecr get-login --region $region --registry-ids $account --no-include-email)\n",
"\n",
"# Build the docker image locally with the image name and then push it to ECR\n",
"# with the full name.\n",
Expand Down

0 comments on commit ba8d5ce

Please sign in to comment.