summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorearl-warren <earl-warren@noreply.code.forgejo.org>2025-01-11 12:01:26 +0100
committerearl-warren <earl-warren@noreply.code.forgejo.org>2025-01-11 12:01:26 +0100
commit03c9132443b8f265597763933f5af9474aa973f9 (patch)
tree3e0198e5a12704aebb89f0819061bd72c68acfcf
parentMerge pull request 'fix: filter job container options with an allow list' (#8... (diff)
parentfix: do not ignore the config container.options when starting a job (diff)
downloadforgejo-act-03c9132443b8f265597763933f5af9474aa973f9.tar.xz
forgejo-act-03c9132443b8f265597763933f5af9474aa973f9.zip
Merge pull request 'fix: do not ignore the config container.options when starting a job' (#92) from earl-warren/act:wip-mount into main
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/92 Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
-rw-r--r--pkg/runner/run_context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/runner/run_context.go b/pkg/runner/run_context.go
index 82443f8..ab183f3 100644
--- a/pkg/runner/run_context.go
+++ b/pkg/runner/run_context.go
@@ -555,7 +555,7 @@ func (rc *RunContext) startJobContainer() common.Executor {
ValidVolumes: rc.Config.ValidVolumes,
JobOptions: rc.options(ctx),
- ConfigOptions: "",
+ ConfigOptions: rc.Config.ContainerOptions,
})
if rc.JobContainer == nil {
return errors.New("Failed to create job container")