mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-12-19 20:44:58 +00:00
feat: add config for runner auth with client certificates (gitea/act_runner#321)
This commit is contained in:
@@ -91,6 +91,8 @@ func runDaemon(ctx context.Context, configFile *string) func(cmd *cobra.Command,
|
||||
cli := client.New(
|
||||
reg.Address,
|
||||
cfg.Runner.Insecure,
|
||||
cfg.Runner.Clientcert,
|
||||
cfg.Runner.Clientkey,
|
||||
reg.UUID,
|
||||
reg.Token,
|
||||
ver.Version(),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user