Skip to content

Instantly share code, notes, and snippets.

@chrisgilbert
Created August 24, 2021 14:41
Show Gist options
  • Select an option

  • Save chrisgilbert/6d5cd62a5688f90253c6838ca0d3c69b to your computer and use it in GitHub Desktop.

Select an option

Save chrisgilbert/6d5cd62a5688f90253c6838ca0d3c69b to your computer and use it in GitHub Desktop.

Revisions

  1. chrisgilbert created this gist Aug 24, 2021.
    4 changes: 4 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    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
    }