summaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2024-03-11 15:36:04 +0100
committerEarl Warren <contact@earl-warren.org>2024-03-11 16:16:23 +0100
commit74cb9034e388365142a93bc02579e856886164ba (patch)
tree448f8ff940d533800f2d9e528dab872f92f6e5b7 /internal
parentSet the status of steps to `skipped` if job is skipped (#500) (diff)
downloadforgejo-runner-74cb9034e388365142a93bc02579e856886164ba.tar.xz
forgejo-runner-74cb9034e388365142a93bc02579e856886164ba.zip
Support cloning remote actions from insecure Gitea instances (#508)
(cherry picked from commit 75006a59cc4e6d18653926ec2578de5072ba6c32)
Diffstat (limited to 'internal')
-rw-r--r--internal/app/run/runner.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/app/run/runner.go b/internal/app/run/runner.go
index 78bb956..ee12165 100644
--- a/internal/app/run/runner.go
+++ b/internal/app/run/runner.go
@@ -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)