Answers for "push image to ecr"

1

push image to ecr

# Get credentials from awscli
aws ecr get-login
# Tag the image with the following filled in.
docker tag e9ae3c220b23 <aws_account_id>.dkr.ecr.<region>.amazonaws.com/<name_in_ecr>
# Push to ECR
docker push <aws_account_id>.dkr.ecr.<region>.amazonaws.com/<name_in_ecr>
Posted by: Guest on October-24-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language