Skip to content
Snippets Groups Projects
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
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment