after reading labels, load them into registration
This commit is contained in:
parent
a697b9c1ed
commit
f1181cc62a
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ func runDaemon(ctx context.Context, configFile *string) func(cmd *cobra.Command,
|
|||
if len(ls) == 0 {
|
||||
log.Warn("no labels configured, runner may not be able to pick up jobs")
|
||||
}
|
||||
reg.Labels = ls.ToStrings()
|
||||
|
||||
if ls.RequireDocker() {
|
||||
dockerSocketPath, err := getDockerSocketPath(cfg.Container.DockerHost)
|
||||
|
|
Loading…
Reference in a new issue