Patched options() to let container options propagate to job containers #80

Merged
wolfogre merged 2 commits from nicorac/act:main into main 2024-03-04 02:56:52 +00:00

View File

@ -717,7 +717,7 @@ func (rc *RunContext) options(ctx context.Context) string {
job := rc.Run.Job()
c := job.Container()
if c != nil {
return rc.ExprEval.Interpolate(ctx, c.Options)
return rc.Config.ContainerOptions + " " + rc.ExprEval.Interpolate(ctx, c.Options)
}
return rc.Config.ContainerOptions