mirror of
https://code.forgejo.org/docker/metadata-action.git
synced 2025-08-07 06:40:54 +00:00
Allow to templatize schedule tag (#1)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
88d487154b
commit
3b38d53d94
10 changed files with 14262 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