Skip to content

Commit

Permalink
missing some versions in build matrix
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Sep 8, 2021
1 parent f6c8b2e commit a442799
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions parsers/docker/dockerbuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,14 @@ func getBuildMatrix(newkey string, values []string, previous []map[string]string
// Add each value to each existing
for _, value := range values {
for _, entry := range previous {
entry[newkey] = value
updated = append(updated, entry)
newEntry := make(map[string]string)

// This copies the previous entry
for k, v := range entry {
newEntry[k] = v
}
newEntry[newkey] = value
updated = append(updated, newEntry)
}
}
return updated
Expand Down

0 comments on commit a442799

Please sign in to comment.