mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
fix: do not ignore the config container.options when starting a job
This commit is contained in:
parent
ed911869e1
commit
790d1776e7
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ func (rc *RunContext) startJobContainer() common.Executor {
|
||||||
ValidVolumes: rc.Config.ValidVolumes,
|
ValidVolumes: rc.Config.ValidVolumes,
|
||||||
|
|
||||||
JobOptions: rc.options(ctx),
|
JobOptions: rc.options(ctx),
|
||||||
ConfigOptions: "",
|
ConfigOptions: rc.Config.ContainerOptions,
|
||||||
})
|
})
|
||||||
if rc.JobContainer == nil {
|
if rc.JobContainer == nil {
|
||||||
return errors.New("Failed to create job container")
|
return errors.New("Failed to create job container")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue