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 {
|
||||
return nil, err
|
||||
}
|
||||
defer func() {
|
||||
_ = os.Remove(metadata.Name())
|
||||
}()
|
||||
|
||||
buildx, err := manager.GetPlugin("buildx", s.dockerCli, &cobra.Command{})
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user