2
0
Fork 0
mirror of https://code.forgejo.org/docker/metadata-action.git synced 2025-08-31 18:31:06 +00:00

do not trim whitespace for sep-tags and sep-labels inputs

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-10-07 22:45:46 +02:00
parent f7c31b1e79
commit 3862a1b70f
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
5 changed files with 87 additions and 4 deletions

View file

@ -31,8 +31,8 @@ export function getInputs(): Inputs {
tags: getInputList('tags', true),
flavor: getInputList('flavor', true),
labels: getInputList('labels', true),
sepTags: core.getInput('sep-tags') || `\n`,
sepLabels: core.getInput('sep-labels') || `\n`,
sepTags: core.getInput('sep-tags', {trimWhitespace: false}) || `\n`,
sepLabels: core.getInput('sep-labels', {trimWhitespace: false}) || `\n`,
bakeTarget: core.getInput('bake-target') || `docker-metadata-action`,
githubToken: core.getInput('github-token')
};