Fixed issue with containerRegistryImageVersion not allowing dot versions (ie 3.1.0)

pull/686/head
brian-golfplusvr 2025-01-31 10:34:52 -06:00
parent c794bde952
commit 4b9e1df58e
3 changed files with 4 additions and 4 deletions

2
dist/index.js generated vendored
View File

@ -6522,7 +6522,7 @@ class ImageTag {
this.targetPlatform = targetPlatform;
this.builderPlatform = ImageTag.getTargetPlatformToTargetPlatformSuffixMap(targetPlatform, editorVersion, providerStrategy);
this.imagePlatformPrefix = ImageTag.getImagePlatformPrefixes(buildPlatform);
this.imageRollingVersion = Number(containerRegistryImageVersion); // Will automatically roll to the latest non-breaking version.
this.imageRollingVersion = containerRegistryImageVersion; // Will automatically roll to the latest non-breaking version.
}
static get versionPattern() {
return /^\d+\.\d+\.\d+[a-z]\d+$/;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@ class ImageTag {
public targetPlatform: string;
public builderPlatform: string;
public customImage: string;
public imageRollingVersion: number;
public imageRollingVersion: string;
public imagePlatformPrefix: string;
constructor(imageProperties: { [key: string]: string }) {
@ -38,7 +38,7 @@ class ImageTag {
providerStrategy,
);
this.imagePlatformPrefix = ImageTag.getImagePlatformPrefixes(buildPlatform);
this.imageRollingVersion = Number(containerRegistryImageVersion); // Will automatically roll to the latest non-breaking version.
this.imageRollingVersion = containerRegistryImageVersion; // Will automatically roll to the latest non-breaking version.
}
static get versionPattern(): RegExp {