更新依赖,开启Green Tea GC新特性

This commit is contained in:
user123456
2025-08-29 22:12:00 +08:00
parent e2413fc30d
commit 9d5d3012a5
7 changed files with 53 additions and 66 deletions

View File

@@ -598,6 +598,7 @@ func createUpstreamOptions(mapping config.RegistryMapping) []remote.Option {
remote.WithTransport(utils.GetGlobalHTTPClient().Transport),
}
// 预留将来不同Registry的差异化认证逻辑扩展点
switch mapping.AuthType {
case "github":
case "google":