From e696b8439ab4e5b58c6c7f535275a35ada31fe83 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 19 Mar 2021 09:51:52 +0100 Subject: [PATCH 1/2] Rename Dockerfile --- Dockerfile.dev => dev.Dockerfile | 0 docker-bake.hcl | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename Dockerfile.dev => dev.Dockerfile (100%) diff --git a/Dockerfile.dev b/dev.Dockerfile similarity index 100% rename from Dockerfile.dev rename to dev.Dockerfile diff --git a/docker-bake.hcl b/docker-bake.hcl index cf19424..4ea2460 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -11,7 +11,7 @@ group "validate" { } target "dockerfile" { - dockerfile = "Dockerfile.dev" + dockerfile = "dev.Dockerfile" } target "update-yarn" { From 00e310993c71c24273eadd9ccfe42c12908cb020 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Fri, 19 Mar 2021 09:55:45 +0100 Subject: [PATCH 2/2] Ignore commas for label-custom input (#48) Co-authored-by: CrazyMax --- dist/index.js | 2 +- src/context.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 8450185..dc198f1 100644 --- a/dist/index.js +++ b/dist/index.js @@ -66,7 +66,7 @@ function getInputs() { tagSchedule: core.getInput('tag-schedule') || 'nightly', tagCustom: getInputList('tag-custom'), 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`, sepLabels: core.getInput('sep-labels') || `\n`, githubToken: core.getInput('github-token') diff --git a/src/context.ts b/src/context.ts index 3b55c16..acf8cac 100644 --- a/src/context.ts +++ b/src/context.ts @@ -44,7 +44,7 @@ export function getInputs(): Inputs { tagSchedule: core.getInput('tag-schedule') || 'nightly', tagCustom: getInputList('tag-custom'), 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`, sepLabels: core.getInput('sep-labels') || `\n`, githubToken: core.getInput('github-token')