From 405348171480b2a3fd9349ecf6c14fb3c2ab3d25 Mon Sep 17 00:00:00 2001 From: wmgit Date: Fri, 3 Oct 2025 16:48:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20config:=20Default=20config=20fie?= =?UTF-8?q?ld=20for=20docker=20hub=20auth?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/config.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/config/config.go b/src/config/config.go index 5ab4ffe..bd98245 100644 --- a/src/config/config.go +++ b/src/config/config.go @@ -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",