mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 10:10:09 +08:00 
			
		
		
		
	Update docker.ts
This commit is contained in:
		
							parent
							
								
									2619919e41
								
							
						
					
					
						commit
						1e9c9b416b
					
				| @ -2,7 +2,7 @@ import * as core from '@actions/core'; | |||||||
| import * as aws from './aws'; | import * as aws from './aws'; | ||||||
| import * as execm from './exec'; | 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)) { |   if (await aws.isECR(registry)) { | ||||||
|     await loginECR(registry, username, password); |     await loginECR(registry, username, password); | ||||||
|   } else { |   } else { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel Beal
						Daniel Beal