Skip to content

Instantly share code, notes, and snippets.

@chrisgilbert
Created August 24, 2021 14:41
Show Gist options
  • Save chrisgilbert/6d5cd62a5688f90253c6838ca0d3c69b to your computer and use it in GitHub Desktop.
Save chrisgilbert/6d5cd62a5688f90253c6838ca0d3c69b to your computer and use it in GitHub Desktop.
ecr-login bash function
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