mirror of
https://github.com/docker/metadata-action.git
synced 2026-01-21 13:48:57 +08:00
Added semver-prefix input
This commit is contained in:
parent
47b73a2917
commit
2480e1e23e
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ export interface Inputs {
|
||||||
sepLabels: string;
|
sepLabels: string;
|
||||||
githubToken: string;
|
githubToken: string;
|
||||||
fullSemver: boolean;
|
fullSemver: boolean;
|
||||||
|
semverPrefix: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getInputs(): Inputs {
|
export function getInputs(): Inputs {
|
||||||
|
|
@ -29,6 +30,7 @@ export function getInputs(): Inputs {
|
||||||
sepLabels: core.getInput('sep-labels') || `\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'),
|
fullSemver: /true/i.test(core.getInput('full-semver') || 'false'),
|
||||||
|
semverPrefix: core.getInput('semver-prefix')
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue