Skip to content

Commit

Permalink
disable eu-south-2
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaryaz committed Feb 2, 2024
1 parent 45eb721 commit 156dfc7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lambdas/upload_ecr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ regions=$(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --outpu

for region in $regions
do
if [[ region == "eu-south-2" ]]
then
continue
fi

docker_url=$account_id.dkr.ecr.$region.amazonaws.com
echo "Logging in to $docker_url..."
aws ecr get-login-password --region $region | docker login -u AWS --password-stdin "$docker_url"
Expand Down

0 comments on commit 156dfc7

Please sign in to comment.