fix: load multiple registries via env

This commit is contained in:
2025-03-13 12:20:10 +03:00
parent 414b14a92e
commit 9c97ce2d2f
3 changed files with 15 additions and 6 deletions

View File

@@ -74,7 +74,7 @@ func main() {
cacheOpts := cache.CacheOpts{
Chain: chain,
Registries: []string{ko.MustString("bootstrap.ge_registry")},
Registries: ko.MustStrings("bootstrap.ge_registry"),
Watchlist: ko.Strings("bootstrap.watchlist"),
Blacklist: ko.Strings("bootstrap.blacklist"),
CacheType: ko.MustString("core.cache_type"),