mirror of
https://github.com/docker/compose.git
synced 2025-07-22 13:14:29 +02:00
do not forgot to remove the bake metadata file
few DD e2e tests failed on Windows due to permission issues Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
7b9ad96240
commit
ec49baca56
@ -236,6 +236,9 @@ func (s *composeService) doBuildBake(ctx context.Context, project *types.Project
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
defer func() {
|
||||||
|
_ = os.Remove(metadata.Name())
|
||||||
|
}()
|
||||||
|
|
||||||
buildx, err := manager.GetPlugin("buildx", s.dockerCli, &cobra.Command{})
|
buildx, err := manager.GetPlugin("buildx", s.dockerCli, &cobra.Command{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user