mirror of
				https://github.com/docker/build-push-action.git
				synced 2025-11-04 00:10:55 +00:00 
			
		
		
		
	src: bump timeout from 30s to 45s
This commit is contained in:
		
					parent
					
						
							
								c03b613806
							
						
					
				
			
			
				commit
				
					
						42b59d67c9
					
				
			
		
					 3 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										2
									
								
								dist/index.js
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
										
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/index.js.map
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js.map
									
										
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| 
						 | 
					@ -192,7 +192,7 @@ export async function startAndConfigureBuildkitd(parallelism: number): Promise<s
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Change permissions on the buildkitd socket to allow non-root access
 | 
					  // Change permissions on the buildkitd socket to allow non-root access
 | 
				
			||||||
  const startTime = Date.now();
 | 
					  const startTime = Date.now();
 | 
				
			||||||
  const timeout = 30000; // 30 seconds in milliseconds
 | 
					  const timeout = 45000; // 45 seconds in milliseconds
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  while (Date.now() - startTime < timeout) {
 | 
					  while (Date.now() - startTime < timeout) {
 | 
				
			||||||
    if (fs.existsSync('/run/buildkit/buildkitd.sock')) {
 | 
					    if (fs.existsSync('/run/buildkit/buildkitd.sock')) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue