mirror of
https://github.com/docker/metadata-action.git
synced 2024-12-22 15:45:35 +00:00
use new implementation from toolkit
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
da933fb889
commit
80530e08c5
|
@ -154,7 +154,7 @@ export class Meta {
|
||||||
|
|
||||||
let latest = false;
|
let latest = false;
|
||||||
const sver = semver.parse(vraw, {
|
const sver = semver.parse(vraw, {
|
||||||
includePrerelease: true
|
loose: true
|
||||||
});
|
});
|
||||||
if (semver.prerelease(vraw)) {
|
if (semver.prerelease(vraw)) {
|
||||||
if (Meta.isRawStatement(tag.attrs['pattern'])) {
|
if (Meta.isRawStatement(tag.attrs['pattern'])) {
|
||||||
|
|
Loading…
Reference in a new issue