Allow to templatize schedule tag (#1)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMaxandCrazyMax authored and GitHub committed 2020-10-25 14:13:43 +00:00
1 parent 88d487154b
commit 3b38d53d94
10 files changed
+14262 -49

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ export interface Inputs {
images: string[];
tagSha: boolean;
tagEdge: string;
tagSchedule: string;
sepTags: string;
sepLabels: string;
githubToken: string;
@@ -14,6 +15,7 @@ export function getInputs(): Inputs {
images: getInputList('images'),
tagSha: /true/i.test(core.getInput('tag-sha')),
tagEdge: core.getInput('tag-edge'),
tagSchedule: core.getInput('tag-schedule') || 'nightly',
sepTags: core.getInput('sep-tags') || `\n`,
sepLabels: core.getInput('sep-labels') || `\n`,
githubToken: core.getInput('github-token')