Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ECR public registry uses us-east-1 region
This commit fixes a bug related to ECR public registry which is available only in us-east-1 region. This is the error which will be fixed: ``` Run tradeshift/actions-docker@v1 💡 AWS Public ECR detected with eu-west-1 region ⬇️ Retrieving docker login password through AWS CLI 2.1.24 (/usr/local/bin/aws)... Error: Could not connect to the endpoint URL: "https://api.ecr-public.eu-west-1.amazonaws.com/" ``` Snippet from [AWS documentation](https://docs.aws.amazon.com/AmazonECR/latest/public/getting-started-cli.html). ``` aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws ```
- Loading branch information