mirror of
https://github.com/docker/login-action.git
synced 2026-01-09 06:38:17 +00:00
ensure passwords are redacted with registry-auth
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -39,6 +39,9 @@ export async function main(): Promise<void> {
|
||||
} else {
|
||||
registries.push(auth.registry);
|
||||
}
|
||||
if (auth.password) {
|
||||
core.setSecret(auth.password);
|
||||
}
|
||||
}
|
||||
stateHelper.setRegistries(registries.filter((value, index, self) => self.indexOf(value) === index));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user