mirror of
https://code.forgejo.org/docker/metadata-action.git
synced 2025-09-16 09:46:56 +00:00
Allow global prefix/suffix on latest
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
aa7478bca1
commit
375e313280
7 changed files with 245 additions and 59 deletions
|
@ -100,7 +100,7 @@ export function Parse(s: string): Tag {
|
|||
switch (key) {
|
||||
case 'type': {
|
||||
if (!Object.values(Type).includes(value)) {
|
||||
throw new Error(`Unknown type attribute: ${value}`);
|
||||
throw new Error(`Unknown tag type attribute: ${value}`);
|
||||
}
|
||||
tag.type = value;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue