auto-detect artifact cache IP instead of using localhost
localhost isnt guranteed to exist
This commit is contained in:
parent
bfb2637600
commit
ca5f1437b6
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ func setupCache(cfg *config.Config, envs map[string]string) *cacheproxy.Handler
|
|||
|
||||
cacheServer, err := artifactcache.StartHandler(
|
||||
cfg.Cache.Dir,
|
||||
"localhost",
|
||||
"", // automatically detect
|
||||
cfg.Cache.Port,
|
||||
cacheSecret,
|
||||
log.StandardLogger().WithField("module", "cache_request"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue