add new envs

This commit is contained in:
Lunny Xiao
2022-11-04 17:23:59 +08:00
committed by Jason Song
parent 93e42d1465
commit 222b5100b6
4 changed files with 19 additions and 13 deletions

View File

@ -49,5 +49,5 @@ func (s *Runner) Run(ctx context.Context, task *runnerv1.Task) error {
l.Info("update runner status to idle")
}()
return NewTask(s.ForgeInstance, task.Id, s.Client).Run(ctx, task)
return NewTask(s.ForgeInstance, task.Id, s.Client, s.Environ).Run(ctx, task)
}