Skip to content

Commit

Permalink
fix pipe_bring_your_own.ipynb (aws#3547)
Browse files Browse the repository at this point in the history
* fix pipe_bring_your_own.ipynb

* login before pushing to docker

* login before pushing to docker

* fix login issues

* fix login issues

* revert login fix code

Co-authored-by: EC2 Default User <[email protected]>
  • Loading branch information
atqy and EC2 Default User authored Aug 16, 2022
1 parent aabd058 commit fe5acd5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@
"%%sh\n",
"REGION=$(aws configure get region)\n",
"account=$(aws sts get-caller-identity --query Account --output text)\n",
"docker login --username AWS --password $(aws ecr get-login-password --region us-west-2) 763104351884.dkr.ecr.us-west-2.amazonaws.com\n",
"aws ecr get-login-password --region ${REGION} | docker login --username AWS --password-stdin ${account}.dkr.ecr.${REGION}.amazonaws.com"
]
},
Expand Down

0 comments on commit fe5acd5

Please sign in to comment.