From 88978fc12b764b5d9547550c9ef3646510836fba Mon Sep 17 00:00:00 2001 From: Steffen Seckler <38119442+SteffenSeckler@users.noreply.github.com> Date: Tue, 10 Nov 2020 23:55:27 +0100 Subject: [PATCH] Adds ability to use container images from matrices. (#413) Uses rc.ExprEval.Interpolate on container image. --- act/runner/run_context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/runner/run_context.go b/act/runner/run_context.go index b2c7e2ad..89a61e6e 100644 --- a/act/runner/run_context.go +++ b/act/runner/run_context.go @@ -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() {