This commit is contained in:
2023-07-16 11:20:21 +02:00
parent 25a8495c5c
commit 5ab17889f4
+1 -1
View File
@@ -7,5 +7,5 @@ IS_V2=`aws --version | grep -P "^aws-cli/2" | wc -l`
if [[ $IS_V2 -eq "1" ]]; then
aws ecr get-login-password --region eu-west-1 --profile personal | docker login --username AWS --password-stdin 299952237278.dkr.ecr.eu-west-1.amazonaws.com
else
$(aws ecr get-login --no-include-email --profile personal)
$(aws ecr get-login --no-include-email --region eu-west-1 --profile personal)
fi