3
0
Fork 0
mirror of https://gitea.com/docker/metadata-action.git synced 2024-11-21 19:49:32 +01:00

use new implementation from toolkit

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-04-17 04:33:51 +02:00
parent da933fb889
commit 80530e08c5
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -154,7 +154,7 @@ export class Meta {
let latest = false;
const sver = semver.parse(vraw, {
includePrerelease: true
loose: true
});
if (semver.prerelease(vraw)) {
if (Meta.isRawStatement(tag.attrs['pattern'])) {