feat(register): add labels to local runner file
This commit is contained in:
parent
64c9856ba7
commit
86f66eaa45
3 changed files with 8 additions and 5 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue