mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-22 14:46:39 +02:00
Use core.getBooleanInput
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
93a9859764
commit
9199c83f6e
3 changed files with 66 additions and 18 deletions
8
dist/index.js
generated
vendored
8
dist/index.js
generated
vendored
|
@ -13553,13 +13553,13 @@ function getInputs(defaultContext) {
|
|||
context: core.getInput('context') || defaultContext,
|
||||
file: core.getInput('file'),
|
||||
labels: yield getInputList('labels', true),
|
||||
load: /true/i.test(core.getInput('load')),
|
||||
load: core.getBooleanInput('load'),
|
||||
network: core.getInput('network'),
|
||||
noCache: /true/i.test(core.getInput('no-cache')),
|
||||
noCache: core.getBooleanInput('no-cache'),
|
||||
outputs: yield getInputList('outputs', true),
|
||||
platforms: yield getInputList('platforms'),
|
||||
pull: /true/i.test(core.getInput('pull')),
|
||||
push: /true/i.test(core.getInput('push')),
|
||||
pull: core.getBooleanInput('pull'),
|
||||
push: core.getBooleanInput('push'),
|
||||
secrets: yield getInputList('secrets', true),
|
||||
secretFiles: yield getInputList('secret-files', true),
|
||||
ssh: yield getInputList('ssh'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue