Allow to templatize the schedule tag

This commit is contained in:
CrazyMax 2020-10-25 14:50:33 +01:00
parent 88d487154b
commit 23f5d6bcf4
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
10 changed files with 14260 additions and 49 deletions

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')