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 23a7561edc
commit 2d30901aa3
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"),