mirror of
https://gitea.com/docker/login-action.git
synced 2026-01-11 08:26:58 +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:
parent
6862ffc5ab
commit
f9cc43b63d
@ -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));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user