add new envs

This commit is contained in:
Lunny Xiao authored and Jason Song committed 2022-11-24 15:37:48 +08:00
1 parent 93e42d1465
commit 222b5100b6
4 files changed
+19 -13

No files matched your search

+1 -1
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)
}