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

This commit is contained in:
Rafal Kupiec 2024-02-23 08:45:47 +01:00
parent e6fec7324e
commit f494bd3cbe
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

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