mirror of
				https://github.com/docker/setup-buildx-action.git
				synced 2025-11-04 14:44:20 +08:00 
			
		
		
		
	Use core.getBooleanInput
				
					
				
			Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									c0e291b502
								
							
						
					
					
						commit
						dffa64995b
					
				
							
								
								
									
										4
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							@ -8433,8 +8433,8 @@ function getInputs() {
 | 
				
			|||||||
            driverOpts: yield getInputList('driver-opts', true),
 | 
					            driverOpts: yield getInputList('driver-opts', true),
 | 
				
			||||||
            buildkitdFlags: core.getInput('buildkitd-flags') ||
 | 
					            buildkitdFlags: core.getInput('buildkitd-flags') ||
 | 
				
			||||||
                '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
 | 
					                '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
 | 
				
			||||||
            install: /true/i.test(core.getInput('install')),
 | 
					            install: core.getBooleanInput('install'),
 | 
				
			||||||
            use: /true/i.test(core.getInput('use')),
 | 
					            use: core.getBooleanInput('use'),
 | 
				
			||||||
            endpoint: core.getInput('endpoint'),
 | 
					            endpoint: core.getInput('endpoint'),
 | 
				
			||||||
            config: core.getInput('config')
 | 
					            config: core.getInput('config')
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
				
			|||||||
@ -24,8 +24,8 @@ export async function getInputs(): Promise<Inputs> {
 | 
				
			|||||||
    buildkitdFlags:
 | 
					    buildkitdFlags:
 | 
				
			||||||
      core.getInput('buildkitd-flags') ||
 | 
					      core.getInput('buildkitd-flags') ||
 | 
				
			||||||
      '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
 | 
					      '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
 | 
				
			||||||
    install: /true/i.test(core.getInput('install')),
 | 
					    install: core.getBooleanInput('install'),
 | 
				
			||||||
    use: /true/i.test(core.getInput('use')),
 | 
					    use: core.getBooleanInput('use'),
 | 
				
			||||||
    endpoint: core.getInput('endpoint'),
 | 
					    endpoint: core.getInput('endpoint'),
 | 
				
			||||||
    config: core.getInput('config')
 | 
					    config: core.getInput('config')
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user