[Agent][Deploy] - sz ga

This commit is contained in:
zeaslity
2024-05-29 10:37:32 +08:00
parent 46e488f891
commit 9cc5db9194
25 changed files with 11211 additions and 100 deletions

View File

@@ -183,6 +183,9 @@ func GzipFolderPathToCmiiImageTagMaps(gzipFolderPath string) (frontendImageVersi
filepath.WalkDir(gzipFolderPath, func(path string, d os.DirEntry, err error) error {
//fmt.Println(path)
if d == nil {
return nil
}
name := d.Name()
if strings.HasSuffix(name, ".tar.gz") {
imageName, imageTag := GzipFileNameToImageNameAndTag(name)