[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

@@ -298,7 +298,7 @@ func DownloadLoadTagUpload(downloadFromOss bool, ossUrlPrefix, ossFileNameOrGzip
// uploadToHarbor 上传到目标Harbor
if image.UploadToHarbor(targetImageFullName) {
targetImageFullNameList = append(targetImageFullNameList, targetHarborFullName)
targetImageFullNameList = append(targetImageFullNameList, targetImageFullName)
} else {
log.ErrorF("upload to harbor error of %s", targetImageFullName)
}