Update docker.go

This commit is contained in:
starry
2025-06-11 22:19:50 +08:00
committed by GitHub
parent 3cba680e6c
commit 3e72ffb7be

View File

@@ -71,7 +71,7 @@ func initDockerProxy() {
// 配置代理选项 // 配置代理选项
options := []remote.Option{ options := []remote.Option{
remote.WithAuth(authn.Anonymous), remote.WithAuth(authn.Anonymous),
remote.WithUserAgent("ghproxy/go-containerregistry"), remote.WithUserAgent("hubproxy/go-containerregistry"),
} }
dockerProxy = &DockerProxy{ dockerProxy = &DockerProxy{