Windows: Support credential specs

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-06-07 12:15:50 -07:00
parent d7efdb095e
commit 6bc667128a
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ 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,
"t": options.Tags,
"securityopt": options.SecurityOpt,
}
if options.SuppressOutput {
query.Set("q", "1")