Labels and build args should not be handled as CSV type

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-10-20 19:04:54 +02:00
parent 84306df16c
commit 53401988c7
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
4 changed files with 35 additions and 38 deletions

View file

@ -46,8 +46,8 @@ export async function getInputs(defaultContext: string): Promise<Inputs> {
return {
context: core.getInput('context') || defaultContext,
file: core.getInput('file') || 'Dockerfile',
buildArgs: await getInputList('build-args'),
labels: await getInputList('labels'),
buildArgs: await getInputList('build-args', true),
labels: await getInputList('labels', true),
tags: await getInputList('tags'),
pull: /true/i.test(core.getInput('pull')),
target: core.getInput('target'),