debug: add logging for containerOptions auto-addition
This commit is contained in:
@@ -223,7 +223,7 @@ func (r *Runner) run(ctx context.Context, task *runnerv1.Task, reporter *report.
|
|||||||
} else if !strings.Contains(containerOptions, "--add-host=host.docker.internal") {
|
} else if !strings.Contains(containerOptions, "--add-host=host.docker.internal") {
|
||||||
containerOptions += " --add-host=host.docker.internal:host-gateway"
|
containerOptions += " --add-host=host.docker.internal:host-gateway"
|
||||||
}
|
}
|
||||||
log.Infof("Auto-added host.docker.internal mapping for cache")
|
log.Infof("Auto-added host.docker.internal mapping for cache: %s", containerOptions)
|
||||||
}
|
}
|
||||||
|
|
||||||
runnerConfig := &runner.Config{
|
runnerConfig := &runner.Config{
|
||||||
|
|||||||
Reference in New Issue
Block a user