mirror of
https://github.com/docker/compose.git
synced 2026-10-21 19:33:28 +00:00
only propagate os.Env to bake, not the whole project.Environment
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
eec2bb7ea6
commit
7cd569922e
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ func (s *composeService) doBuildBake(ctx context.Context, project *types.Project
|
|||
}
|
||||
cmd := exec.CommandContext(ctx, buildx.Path, args...)
|
||||
|
||||
err = s.prepareShellOut(ctx, project.Environment, cmd)
|
||||
err = s.prepareShellOut(ctx, types.NewMapping(os.Environ()), cmd)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue