Commit 4b54efc4 authored by nimrod's avatar nimrod
Browse files

Update the AWS CLI ecr-login alias.

Avoids the warning from passing the password as an argument.
parent 68d510a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

whoami = sts get-caller-identity
region = configure get region
ecr-login = !$(aws ecr get-login --no-include-email)
ecr-login = !aws ecr get-login-password | docker login --username AWS --password-stdin "$(aws whoami --query "Account" --output text).dkr.ecr.$(aws region).amazonaws.com"
metadata-region = !python3 << EOF
    from urllib.request import urlopen
    import json