Skip to content

Instantly share code, notes, and snippets.

@philschmid
Created December 17, 2020 09:10
Show Gist options
  • Select an option

  • Save philschmid/0ff3d2494a2c94be0b7b8e9990f0dfbd to your computer and use it in GitHub Desktop.

Select an option

Save philschmid/0ff3d2494a2c94be0b7b8e9990f0dfbd to your computer and use it in GitHub Desktop.
aws_region=eu-central-1
aws_account_id=891511646143
aws ecr get-login-password \
--region $aws_region \
| docker login \
--username AWS \
--password-stdin $aws_account_id.dkr.ecr.$aws_region.amazonaws.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment