A simple docker in docker image pre-configured with the tools necessary to push images to AWS ECR. Intended to be used in CI/CD pipelines.
- Pull the image with the command
docker pull itsadeadh2/ecr-deployer
- Define the both
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
envvars to your corresponding iam user credentials withdocker run -it -e AWS_ACCESS_KEY=YOURACCESSKEY -e AWS_SECRET_ACCESS_KEY=YOURSECRET itsadeadh2/ecr-deployer sh
After that you can execute commands likeaws ecr get-login
without problems.