diff --git a/dist/index.js b/dist/index.js index a5b932e..39522db 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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') }; diff --git a/src/context.ts b/src/context.ts index 51f4f48..234ccd4 100644 --- a/src/context.ts +++ b/src/context.ts @@ -24,8 +24,8 @@ export async function getInputs(): Promise { 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') };