mirror of
https://github.com/docker/login-action.git
synced 2026-03-19 20:20:27 +08:00
raw authentication to registries
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
bdf14dc173
commit
9fc23e88e3
9 changed files with 212 additions and 23 deletions
|
|
@ -36,11 +36,7 @@ export async function loginStandard(registry: string, username: string, password
|
|||
loginArgs.push('--username', username);
|
||||
loginArgs.push(registry);
|
||||
|
||||
if (registry) {
|
||||
core.info(`Logging into ${registry}...`);
|
||||
} else {
|
||||
core.info(`Logging into Docker Hub...`);
|
||||
}
|
||||
core.info(`Logging into ${registry}...`);
|
||||
await Docker.getExecOutput(loginArgs, {
|
||||
ignoreReturnCode: true,
|
||||
silent: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue