1
0
mirror of https://github.com/docker/compose.git synced 2025-04-08 17:05:13 +02:00

Merge pull request from gtardif/fix_build_label

Fix build image label mapping
This commit is contained in:
Guillaume Tardif 2021-03-15 11:41:03 +01:00 committed by GitHub
commit 7bb0f02d2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}