Provides a simple, scripted way of generating a docker login
267
This will result in the executing machine being authenticated with the target ECR, enabling you to push to the ECR.
Usage:
$(docker run -e AWS_REGION="{YOUR-CHOSEN-REGION}" -e AWS_ACCESS_KEY_ID="{YOUR-ACCESS-KEY-ID}" -e AWS_SECRET_ACCESS_KEY="{YOUR-SECRET-ACCESS-KEY}" developergg/ecr-docker-login)
E.g:
$(docker run -e AWS_REGION="eu-west-2" -e AWS_ACCESS_KEY_ID="BLAHBLAHBLAH" -e AWS_SECRET_ACCESS_KEY="EVENMOREBLAHBLAH/BLAH" developergg/ecr-docker-login)
Content type
Image
Digest
Size
27.9 MB
Last updated
almost 9 years ago
docker pull developergg/ecr-docker-login