1
0
Fork 0
mirror of https://github.com/docker/setup-buildx-action.git synced 2024-12-22 15:02:23 +00:00

Use core.getBooleanInput

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-06-23 15:43:25 +02:00
parent c0e291b502
commit dffa64995b
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 4 additions and 4 deletions

4
dist/index.js generated vendored
View file

@ -8433,8 +8433,8 @@ function getInputs() {
driverOpts: yield getInputList('driver-opts', true),
buildkitdFlags: core.getInput('buildkitd-flags') ||
'--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
install: /true/i.test(core.getInput('install')),
use: /true/i.test(core.getInput('use')),
install: core.getBooleanInput('install'),
use: core.getBooleanInput('use'),
endpoint: core.getInput('endpoint'),
config: core.getInput('config')
};

View file

@ -24,8 +24,8 @@ export async function getInputs(): Promise<Inputs> {
buildkitdFlags:
core.getInput('buildkitd-flags') ||
'--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host',
install: /true/i.test(core.getInput('install')),
use: /true/i.test(core.getInput('use')),
install: core.getBooleanInput('install'),
use: core.getBooleanInput('use'),
endpoint: core.getInput('endpoint'),
config: core.getInput('config')
};