mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-08 00:00:28 +00:00
Update the docker image rebuild flag for config file and example gitea/act_runner#390 (#391)
this is a PR for the issue gitea/act_runner#390 It adding configuration for dockerfile container image to rebuild base on the configuration flag force_rebuild in config.yaml Reviewed-on: https://gitea.com/gitea/act_runner/pulls/391 Reviewed-by: Jason Song <[email protected]> Co-authored-by: Alex Lau(AvengerMoJo) <[email protected]> Co-committed-by: Alex Lau(AvengerMoJo) <[email protected]>
This commit is contained in:
1 parent
daf52d0e62
commit
f17cad1bbe
3 files changed
+4
-1
No files matched your search
@@ -184,7 +184,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,
|
||||
|
||||
Reference in new issue
Block a user