mirror of
https://gitea.com/gitea/act_runner.git
synced 2025-06-18 04:27:12 +02:00
feat(register): add labels to local runner file
This commit is contained in:
@ -295,6 +295,7 @@ func doRegister(cfg *config.Config, inputs *registerInputs) error {
|
||||
)
|
||||
cfg.Runner.Name = inputs.RunnerName
|
||||
cfg.Runner.Token = inputs.Token
|
||||
cfg.Runner.Labels = inputs.CustomLabels
|
||||
_, err := register.Register(ctx, cfg.Runner)
|
||||
if err != nil {
|
||||
log.WithError(err).Errorln("Cannot register the runner")
|
||||
|
Reference in New Issue
Block a user