Adds ability to use container images from matrices. (#413)

Uses rc.ExprEval.Interpolate on container image.
This commit is contained in:
Steffen Seckler 2020-11-10 23:55:27 +01:00 committed by GitHub
parent d5b2d60c35
commit 695c496684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {