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
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ func (rc *RunContext) platformImage() string {
c := job.Container()
if c != nil {
return c.Image
return rc.ExprEval.Interpolate(c.Image)
}
for _, runnerLabel := range job.RunsOn() {