Support cloning remote actions from insecure Gitea instances (#508)

(cherry picked from commit 75006a59cc4e6d18653926ec2578de5072ba6c32)
This commit is contained in:
Earl Warren 2024-03-11 21:36:04 +07:00
parent 82c30f5cf7
commit 74cb9034e3
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -217,6 +217,7 @@ func (r *Runner) run(ctx context.Context, task *runnerv1.Task, reporter *report.
PlatformPicker: r.labels.PickPlatform,
Vars: task.Vars,
ValidVolumes: r.cfg.Container.ValidVolumes,
InsecureSkipTLS: r.cfg.Runner.Insecure,
}
rr, err := runner.New(runnerConfig)