diff --git a/commands/build.go b/commands/build.go index cf8de5d7..3467e463 100644 --- a/commands/build.go +++ b/commands/build.go @@ -233,6 +233,10 @@ func runBuild(dockerCli command.Cli, options buildOptions) (err error) { if err != nil { return err } + _, err = b.LoadNodes(ctx, false) + if err != nil { + return err + } ctx2, cancel := context.WithCancel(context.TODO()) defer cancel()