Fix build image label mapping

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
Guillaume Tardif 2021-03-12 09:18:10 +01:00
parent c2195b5cca
commit 8c99bb2c29
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ func (s *composeService) toBuildOptions(service types.ServiceConfig, contextPath
Target: service.Build.Target,
Exports: []bclient.ExportEntry{{Type: "image", Attrs: map[string]string{}}},
Platforms: plats,
Labels: service.Labels,
Labels: service.Build.Labels,
}, nil
}