mirror of
				https://github.com/docker/login-action.git
				synced 2025-10-31 16:01:54 +00: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) { |     } catch (error) { | ||||||
|       if ((attempt < max_attempts) && (isRetriableError(error, http_errors_to_retry))) { |       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)); |         await new Promise(r => setTimeout(r, retry_timeout * 1000)); | ||||||
|       } else { |       } else { | ||||||
|         throw new Error(error); |         throw new Error(error); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user