Last active
December 10, 2017 17:47
-
-
Save li0nel/6931169238c3ab2b20e5c58f2dc072d5 to your computer and use it in GitHub Desktop.
Login to ECR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The get-login command outputs the "docker login" command you need to execute with a temporary token | |
# You can run both directly using eval | |
# The --no-include-email tells get-login not to return the -e option that does not work for all of Docker versions | |
eval $(aws ecr get-login --no-include-email) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment