mirror of
https://github.com/docker/metadata-action.git
synced 2026-07-13 23:30:58 +02:00
Handle tag-match-latest on Git tag event (#8)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
co-authored by
GitHub
CrazyMax
parent
b4c9b2116e
commit
52c4b1ad0c
+1
-1
@@ -53,7 +53,7 @@ export class Meta {
|
||||
version.latest = this.inputs.tagMatchLatest;
|
||||
}
|
||||
} else {
|
||||
version.latest = true;
|
||||
version.latest = this.inputs.tagMatchLatest;
|
||||
}
|
||||
} else if (/^refs\/heads\//.test(this.context.ref)) {
|
||||
version.version = this.context.ref.replace(/^refs\/heads\//g, '').replace(/\//g, '-');
|
||||
|
||||
Reference in New Issue
Block a user