Hotfix: Fix version checking in image-tag (#640)

* Update version check regex and fix tests
This commit is contained in:
Andrew Kahr
2024-03-17 13:33:23 -07:00
committed by GitHub
parent 0c16aab353
commit dd427466ce
4 changed files with 9 additions and 9 deletions

2
dist/index.js generated vendored
View File

@@ -6521,7 +6521,7 @@ class ImageTag {
this.imageRollingVersion = Number(containerRegistryImageVersion); // Will automatically roll to the latest non-breaking version.
}
static get versionPattern() {
return /^(20\d{2}\.\d\.\w{3,4}|3)$/;
return /^\d+\.\d+\.\d+[a-z]\d+$/;
}
static get targetPlatformSuffixes() {
return {