mirror of
https://github.com/docker/login-action.git
synced 2026-01-22 16:18:57 +08:00
update dist
This commit is contained in:
parent
34677259a9
commit
d61c413af8
4 changed files with 903 additions and 44 deletions
|
|
@ -2,8 +2,8 @@ import * as core from '@actions/core';
|
|||
import * as aws from './aws';
|
||||
import * as execm from './exec';
|
||||
|
||||
export async function login(registry: string, username: string, password: string, isECR?: boolean): Promise<void> {
|
||||
if (isECR == true || (isECR == undefined && await aws.isECR(registry))) {
|
||||
export async function login(registry: string, username: string, password: string, isECR: string): Promise<void> {
|
||||
if (isECR == 'true' || (!isECR && await aws.isECR(registry))) {
|
||||
await loginECR(registry, username, password);
|
||||
} else {
|
||||
await loginStandard(registry, username, password);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue