Patched options() to let container options propagate to job containers
This commit is contained in:
parent
e6fec7324e
commit
f494bd3cbe
@ -717,7 +717,7 @@ func (rc *RunContext) options(ctx context.Context) string {
|
|||||||
job := rc.Run.Job()
|
job := rc.Run.Job()
|
||||||
c := job.Container()
|
c := job.Container()
|
||||||
if c != nil {
|
if c != nil {
|
||||||
return rc.ExprEval.Interpolate(ctx, c.Options)
|
return rc.Config.ContainerOptions + " " + rc.ExprEval.Interpolate(ctx, c.Options)
|
||||||
}
|
}
|
||||||
|
|
||||||
return rc.Config.ContainerOptions
|
return rc.Config.ContainerOptions
|
||||||
|
Loading…
Reference in New Issue
Block a user