1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-08-01 17:38:36 +00:00

expose "ForceRebuild" as a config option

This commit is contained in:
gratux 2024-12-29 17:13:04 +01:00
parent 1c87699e98
commit 3947276c79
4 changed files with 5 additions and 1 deletions

View file

@ -209,7 +209,7 @@ func (r *Runner) run(ctx context.Context, task *runnerv1.Task, reporter *report.
ReuseContainers: false,
ForcePull: r.cfg.Container.ForcePull,
ForceRebuild: false,
ForceRebuild: r.cfg.Container.ForceRebuild,
LogOutput: true,
JSONLogger: false,
Env: r.envs,