bake: fix loop references

Signed-off-by: Justin Chadwell <me@jedevc.com>
(cherry picked from commit 48357ee0c6)
This commit is contained in:
Justin Chadwell
2023-02-01 10:12:36 +00:00
committed by CrazyMax
parent 00ed17df6d
commit b66988c824
2 changed files with 3 additions and 2 deletions

View File

@ -78,6 +78,7 @@ func ParseCompose(cfgs []compose.ConfigFile, envs map[string]string) (*Config, e
// compose does not support nil values for labels
labels := map[string]*string{}
for k, v := range s.Build.Labels {
v := v
labels[k] = &v
}