mirror of
				https://gitea.com/docker/build-push-action.git
				synced 2025-10-31 09:08:18 +07:00 
			
		
		
		
	fix ProxyConfig type when checking length
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									47d5369e0b
								
							
						
					
					
						commit
						c97c4060bd
					
				| @ -48,7 +48,7 @@ actionsToolkit.run( | |||||||
|       if (dockerConfig && dockerConfig.proxies) { |       if (dockerConfig && dockerConfig.proxies) { | ||||||
|         for (const host in dockerConfig.proxies) { |         for (const host in dockerConfig.proxies) { | ||||||
|           let prefix = ''; |           let prefix = ''; | ||||||
|           if (dockerConfig.proxies.length > 1) { |           if (Object.keys(dockerConfig.proxies).length > 1) { | ||||||
|             prefix = '  '; |             prefix = '  '; | ||||||
|             core.info(host); |             core.info(host); | ||||||
|           } |           } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user