debug: add logging for containerOptions auto-addition

This commit is contained in:
ldc_
2026-02-02 15:31:44 +08:00
parent 8fab783aa9
commit 9d0b60643c

View File

@@ -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") {
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{