mirror of
https://gitee.com/actions-mirror/docker-login-action
synced 2026-01-12 18:12:13 +08:00
Merge pull request #911 from crazy-max/ensure-redact
ensure passwords are redacted with registry-auth
This commit is contained in:
commit
916386b000
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -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…
Reference in New Issue
Block a user