Hotfix: Fix version checking in image-tag (#640)
* Update version check regex and fix tests
This commit is contained in:
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user