Merge pull request #93 from crazy-max/bool-input

Use `core.getBooleanInput`
pull/94/head
CrazyMax 4 years ago committed by GitHub
commit faca7837b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
dist/index.js generated vendored

@ -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')
};

@ -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')
};

Loading…
Cancel
Save