mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
Adds ability to use container images from matrices. (#413)
Uses rc.ExprEval.Interpolate on container image.
This commit is contained in:
parent
4b00c2754d
commit
88978fc12b
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue