fix: load multiple registries via env

Signed-off-by: Mohammed Sohail <sohailsameja@gmail.com>
This commit is contained in:
2025-03-13 12:20:10 +03:00
parent fd6fcc0eb0
commit 6efc2fd99f
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"),