summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2025-01-11 08:45:08 +0100
committerEarl Warren <contact@earl-warren.org>2025-01-11 08:45:08 +0100
commitc88aafa839a9b586beede0645dd79e6b7c6d962f (patch)
tree3e0198e5a12704aebb89f0819061bd72c68acfcf
parentMerge pull request 'fix: filter job container options with an allow list' (#8... (diff)
downloadforgejo-act-c88aafa839a9b586beede0645dd79e6b7c6d962f.tar.xz
forgejo-act-c88aafa839a9b586beede0645dd79e6b7c6d962f.zip
fix: do not ignore the config container.options when starting a job
-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")