mirror of
https://github.com/docker/login-action.git
synced 2026-10-20 22:54:43 +08:00
test: simplify registry-auth ECR regression coverage
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -62,7 +62,6 @@ export function getAuthList(inputs: Inputs): Array<Auth> {
|
||||
username: auth.username,
|
||||
password: auth.password,
|
||||
scope: auth.scope,
|
||||
// YAML parses an unquoted `ecr: false` as a boolean, keep it instead of falling back to auto
|
||||
ecr: String(auth.ecr ?? '') || 'auto',
|
||||
configDir: scopeToConfigDir(registry, auth.scope)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user