mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 01:40:11 +08:00 
			
		
		
		
	fix build
Signed-off-by: Fedor Dikarev <fedor.dikarev@gmail.com>
This commit is contained in:
		
							parent
							
								
									b909aa9ffe
								
							
						
					
					
						commit
						bdcef6ee7a
					
				| @ -14,7 +14,7 @@ export async function login(registry: string, username: string, password: string | ||||
|       } | ||||
|     } catch (error) { | ||||
|       if ((attempt < max_attempts) && (isRetriableError(error, http_errors_to_retry))) { | ||||
|         core.info("Attempt ", attempt, "out of ", max_attempts, "failed, retrying after ", retry_timeout, "seconds"); | ||||
|         core.info(`Attempt ${attempt} out of ${max_attempts} failed, retrying after ${retry_timeout} seconds`); | ||||
|         await new Promise(r => setTimeout(r, retry_timeout * 1000)); | ||||
|       } else { | ||||
|         throw new Error(error); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Fedor Dikarev
						Fedor Dikarev