mirror of
https://gitea.com/docker/login-action.git
synced 2026-01-12 00:46:56 +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 {
|
} 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…
x
Reference in New Issue
Block a user