1.0.12
This commit is contained in:
1 parent
a3cc26d958
commit
86a06d9de0
32 files changed
+799
-522
No files matched your search
@@ -1877,6 +1877,15 @@ export async function checkImageUpdateAvailable(
|
||||
envId?: number
|
||||
): Promise<ImageUpdateCheckResult> {
|
||||
try {
|
||||
// Skip update check for digest-pinned images
|
||||
// If the user explicitly pins to a digest (image@sha256:...), they don't want auto-updates
|
||||
if (isDigestBasedImage(imageName)) {
|
||||
return {
|
||||
hasUpdate: false,
|
||||
currentDigest: imageName.split('@')[1] // Extract the digest part
|
||||
};
|
||||
}
|
||||
|
||||
// Get current image info to get RepoDigests
|
||||
let currentImageInfo: any;
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user