Adds ability to use container images from matrices. (#413)
Uses rc.ExprEval.Interpolate on container image.
This commit is contained in:
parent
d5b2d60c35
commit
695c496684
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ func (rc *RunContext) platformImage() string {
|
||||||
|
|
||||||
c := job.Container()
|
c := job.Container()
|
||||||
if c != nil {
|
if c != nil {
|
||||||
return c.Image
|
return rc.ExprEval.Interpolate(c.Image)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, runnerLabel := range job.RunsOn() {
|
for _, runnerLabel := range job.RunsOn() {
|
||||||
|
|
Loading…
Reference in a new issue