Public Repository

Last pushed: 4 months ago
Short Description
Logs into AWS ECR using the AWS CLI.
Full Description

Uses the aws-cli to login to AWS ECR. The docker login command from the output will be valid for 12 hours.

docker run \
  -e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
  -e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
  -e AWS_DEFAULT_REGION=$AWS_REGION \
  metova/ecr-login
Docker Pull Command
Owner
metova