[ Cmii ] [ Octopus ] - add some features

This commit is contained in:
zeaslity
2024-03-22 16:09:57 +08:00
parent 8e6f09d522
commit 46b9ba59e9
8 changed files with 105 additions and 31 deletions

View File

@@ -69,6 +69,7 @@ func ImageFullNameToGzipFileName(imageFullName string) (gzipFileName string) {
} else if len(first) == 4 {
// harbor.cdcyy.cn/cmii/ossr/srs:v5.0.1
// harbor.cdcyy.com.cn/cmii/cmlc-ai/cmlc-ai-operator:v5.2.0-t4-no-dino
if !strings.HasPrefix(split[0], CmiiHarborPrefix) {
return imageFullName
}