mirror of
https://github.com/docker/login-action.git
synced 2026-01-18 22:09:05 +08:00
ensure passwords are redacted with registry-auth
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
6862ffc5ab
commit
f9cc43b63d
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ export async function main(): Promise<void> {
|
||||||
} else {
|
} else {
|
||||||
registries.push(auth.registry);
|
registries.push(auth.registry);
|
||||||
}
|
}
|
||||||
|
if (auth.password) {
|
||||||
|
core.setSecret(auth.password);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
stateHelper.setRegistries(registries.filter((value, index, self) => self.indexOf(value) === index));
|
stateHelper.setRegistries(registries.filter((value, index, self) => self.indexOf(value) === index));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue