mirror of
https://github.com/docker/metadata-action.git
synced 2024-12-22 19:45:50 +00:00
Ignore commas for label-custom input (#48)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
e696b8439a
commit
00e310993c
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -66,7 +66,7 @@ function getInputs() {
|
||||||
tagSchedule: core.getInput('tag-schedule') || 'nightly',
|
tagSchedule: core.getInput('tag-schedule') || 'nightly',
|
||||||
tagCustom: getInputList('tag-custom'),
|
tagCustom: getInputList('tag-custom'),
|
||||||
tagCustomOnly: /true/i.test(core.getInput('tag-custom-only') || 'false'),
|
tagCustomOnly: /true/i.test(core.getInput('tag-custom-only') || 'false'),
|
||||||
labelCustom: getInputList('label-custom'),
|
labelCustom: getInputList('label-custom', true),
|
||||||
sepTags: core.getInput('sep-tags') || `\n`,
|
sepTags: core.getInput('sep-tags') || `\n`,
|
||||||
sepLabels: core.getInput('sep-labels') || `\n`,
|
sepLabels: core.getInput('sep-labels') || `\n`,
|
||||||
githubToken: core.getInput('github-token')
|
githubToken: core.getInput('github-token')
|
||||||
|
|
|
@ -44,7 +44,7 @@ export function getInputs(): Inputs {
|
||||||
tagSchedule: core.getInput('tag-schedule') || 'nightly',
|
tagSchedule: core.getInput('tag-schedule') || 'nightly',
|
||||||
tagCustom: getInputList('tag-custom'),
|
tagCustom: getInputList('tag-custom'),
|
||||||
tagCustomOnly: /true/i.test(core.getInput('tag-custom-only') || 'false'),
|
tagCustomOnly: /true/i.test(core.getInput('tag-custom-only') || 'false'),
|
||||||
labelCustom: getInputList('label-custom'),
|
labelCustom: getInputList('label-custom', true),
|
||||||
sepTags: core.getInput('sep-tags') || `\n`,
|
sepTags: core.getInput('sep-tags') || `\n`,
|
||||||
sepLabels: core.getInput('sep-labels') || `\n`,
|
sepLabels: core.getInput('sep-labels') || `\n`,
|
||||||
githubToken: core.getInput('github-token')
|
githubToken: core.getInput('github-token')
|
||||||
|
|
Loading…
Reference in a new issue