mirror of
https://github.com/docker/metadata-action.git
synced 2026-01-20 12:48:57 +08:00
Allow to templatize the schedule tag
This commit is contained in:
parent
88d487154b
commit
23f5d6bcf4
10 changed files with 14260 additions and 49 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue