🔧 config: Default config field for docker hub auth

This commit is contained in:
wmgit
2025-10-03 16:48:05 +08:00
parent 58097f865d
commit 4053481714

View File

@@ -113,6 +113,13 @@ func DefaultConfig() *AppConfig {
}{
MaxImages: 10,
},
DockerHubAuth: struct {
Username string `toml:"username"`
Token string `toml:"token"`
}{
Username: "",
Token: "",
},
Registries: map[string]RegistryMapping{
"ghcr.io": {
Upstream: "ghcr.io",