Merge pull request #23389 from Microsoft/jjh/credentialspec

Windows: Support credential specs
This commit is contained in:
Vincent Demeester 2016-10-07 18:32:44 +02:00 committed by GitHub
commit 2ba5d3a260
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ func (cli *Client) ImageBuild(ctx context.Context, buildContext io.Reader, optio
func imageBuildOptionsToQuery(options types.ImageBuildOptions) (url.Values, error) {
query := url.Values{
"t": options.Tags,
"securityopt": options.SecurityOpt,
}
if options.SuppressOutput {
query.Set("q", "1")