Merge pull request #1023 from docker/fix-build-target

Pass the target to buildkit
This commit is contained in:
Guillaume Tardif 2020-12-07 17:31:20 +01:00 committed by GitHub
commit b987f2eaf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ func (s *composeService) toBuildOptions(service types.ServiceConfig, contextPath
},
BuildArgs: flatten(mergeArgs(service.Build.Args, buildArgs)),
Tags: tags,
Target: service.Build.Target,
}
}