feat: add config for runner auth with client certificates (gitea/act_runner#321)

This commit is contained in:
Ryan Budhu
2024-07-22 11:58:25 -04:00
parent 8c8a8ce401
commit 8e4e70b177
7 changed files with 86 additions and 11 deletions

View File

@@ -293,6 +293,8 @@ func doRegister(ctx context.Context, cfg *config.Config, inputs *registerInputs)
cli := client.New(
inputs.InstanceAddr,
cfg.Runner.Insecure,
cfg.Runner.Clientcert,
cfg.Runner.Clientkey,
"",
"",
ver.Version(),