mirror of
https://github.com/docker/metadata-action.git
synced 2026-01-19 03:18:57 +08:00
Added full-semver support
This commit is contained in:
parent
24cde9589b
commit
1c149bae9b
1 changed files with 3 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ export interface Inputs {
|
|||
sepTags: string;
|
||||
sepLabels: string;
|
||||
githubToken: string;
|
||||
fullSemver: boolean;
|
||||
}
|
||||
|
||||
export function getInputs(): Inputs {
|
||||
|
|
@ -26,7 +27,8 @@ export function getInputs(): Inputs {
|
|||
tagSchedule: core.getInput('tag-schedule') || 'nightly',
|
||||
sepTags: core.getInput('sep-tags') || `\n`,
|
||||
sepLabels: core.getInput('sep-labels') || `\n`,
|
||||
githubToken: core.getInput('github-token')
|
||||
githubToken: core.getInput('github-token'),
|
||||
fullSemver: /true/i.test(core.getInput('full-semver') || 'false'),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue