implement cache.advertise_url

This commit is contained in:
2024-09-06 14:00:33 +02:00
parent a7080f5457
commit 607eeb04d6
6 changed files with 16 additions and 7 deletions

View File

@@ -58,6 +58,7 @@ func NewRunner(cfg *config.Config, reg *config.Registration, cli client.Client)
} else {
cacheHandler, err := artifactcache.StartHandler(
cfg.Cache.Dir,
cfg.Cache.AdvertiseUrl,
cfg.Cache.Host,
cfg.Cache.Port,
log.StandardLogger().WithField("module", "cache_request"),