1
0
Fork 0
mirror of https://github.com/docker/login-action.git synced 2025-03-31 20:20:06 +02:00
login-action/dist
Helen Lim a98cecd3e7 feature: Support multi reagion login for AWS ECR
This adds support for allowing AWS ECR logins via multiple regions.

Functionality is quite similar to the existing support for multi-AWS
accounts. This adds in a new valid environment variable `AWS_REGIONS`
that can additionally be used to run the login against multiple regions.

Main changes are in `aws.ts` where `getRegion` is replaced by
`getRegions` which will construct and return a list rather than a
string. Since `getRegistriesData` already returns `regDatas` in a list
due to its support for multi-aws-accounts, all I really needed to add
was a `for-loop` wrapper to iterate on regions around the existing loop
that iterates on account IDs.

Signed-off-by: Helen Lim <hlim2@atlassian.com>
2025-02-28 11:42:01 -05:00
..
index.js feature: Support multi reagion login for AWS ECR 2025-02-28 11:42:01 -05:00
index.js.map feature: Support multi reagion login for AWS ECR 2025-02-28 11:42:01 -05:00
licenses.txt chore: update generated content 2024-07-22 10:42:55 +02:00
sourcemap-register.js update generated content 2023-04-17 02:31:57 +02:00