Add tag-match-group input to choose group to get if tag-match matches
Some checks failed
ci / multi-images (push) Failing after 0s
ci / tag-schedule () (push) Failing after 0s
ci / tag-schedule (cron-{{date 'YYYYMMDD'}}) (push) Failing after 0s
ci / tag-schedule (schedule) (push) Failing after 0s
ci / tag-schedule ({{date 'YYYYMMDD-HHmmss'}}) (push) Failing after 0s
ci / tag-match (\d{1,3}.\d{1,3}, 0) (push) Failing after 0s
ci / tag-match (\d{1,3}.\d{1,3}.\d{1,3}, 0) (push) Failing after 0s
ci / tag-match (v(.*), 1) (push) Failing after 0s
ci / docker-push (push) Failing after 0s
Some checks failed
ci / multi-images (push) Failing after 0s
ci / tag-schedule () (push) Failing after 0s
ci / tag-schedule (cron-{{date 'YYYYMMDD'}}) (push) Failing after 0s
ci / tag-schedule (schedule) (push) Failing after 0s
ci / tag-schedule ({{date 'YYYYMMDD-HHmmss'}}) (push) Failing after 0s
ci / tag-match (\d{1,3}.\d{1,3}, 0) (push) Failing after 0s
ci / tag-match (\d{1,3}.\d{1,3}.\d{1,3}, 0) (push) Failing after 0s
ci / tag-match (v(.*), 1) (push) Failing after 0s
ci / docker-push (push) Failing after 0s
Check tag-match is a valid regex
This commit is contained in:
@@ -6,6 +6,7 @@ export interface Inputs {
|
||||
tagEdge: boolean;
|
||||
tagEdgeBranch: string;
|
||||
tagMatch: string;
|
||||
tagMatchGroup: number;
|
||||
tagMatchLatest: boolean;
|
||||
tagSchedule: string;
|
||||
sepTags: string;
|
||||
@@ -20,6 +21,7 @@ export function getInputs(): Inputs {
|
||||
tagEdge: /true/i.test(core.getInput('tag-edge') || 'false'),
|
||||
tagEdgeBranch: core.getInput('tag-edge-branch'),
|
||||
tagMatch: core.getInput('tag-match'),
|
||||
tagMatchGroup: Number(core.getInput('tag-match-group')) || 0,
|
||||
tagMatchLatest: /true/i.test(core.getInput('tag-match-latest') || 'true'),
|
||||
tagSchedule: core.getInput('tag-schedule') || 'nightly',
|
||||
sepTags: core.getInput('sep-tags') || `\n`,
|
||||
|
||||
Reference in New Issue
Block a user