1
0
Fork 0
mirror of https://github.com/docker/login-action.git synced 2025-03-31 12:10:05 +02:00

Update docker.ts

This commit is contained in:
Daniel Beal 2020-12-30 10:46:08 -08:00 committed by GitHub
parent 2619919e41
commit 1e9c9b416b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ 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): Promise<void> {
export async function login(registry: string, username: string, password: string, isECR?: boolean): Promise<void> {
if (await aws.isECR(registry)) {
await loginECR(registry, username, password);
} else {