mirror of
https://github.com/docker/compose.git
synced 2026-08-28 12:23:49 +00:00
Merge pull request #979 from docker/console
Don't start buildx' build with empty opts
This commit is contained in:
commit
9b140930a7
1 changed files with 3 additions and 0 deletions
|
|
@ -85,6 +85,9 @@ func (s *composeService) needPull(ctx context.Context, service types.ServiceConf
|
|||
}
|
||||
|
||||
func (s *composeService) build(ctx context.Context, project *types.Project, opts map[string]build.Options) error {
|
||||
if len(opts) == 0 {
|
||||
return nil
|
||||
}
|
||||
const drivername = "default"
|
||||
d, err := driver.GetDriver(ctx, drivername, nil, s.apiClient, nil, nil, "", nil, project.WorkingDir)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue