Created
August 24, 2021 14:41
-
-
Save chrisgilbert/6d5cd62a5688f90253c6838ca0d3c69b to your computer and use it in GitHub Desktop.
ecr-login bash function
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
function ecr-login() | |
{ | |
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin 761584570493.dkr.ecr.us-east-1.amazonaws.com | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment