resolve build args without value from environment

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-04-28 18:17:37 +02:00
parent 38b4220bdb
commit e433777796
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
4 changed files with 25 additions and 3 deletions

View file

@ -89,7 +89,7 @@ func runBuild(ctx context.Context, backend compose.Service, opts buildOptions, s
return "", backend.Build(ctx, project, compose.BuildOptions{
Pull: opts.pull,
Progress: opts.progress,
Args: types.NewMapping(opts.args),
Args: types.NewMappingWithEquals(opts.args),
NoCache: opts.noCache,
Quiet: opts.quiet,
})