From 6bc667128a8565ed33e19170a2802e218b2d13c0 Mon Sep 17 00:00:00 2001 From: John Howard Date: Tue, 7 Jun 2016 12:15:50 -0700 Subject: [PATCH] Windows: Support credential specs Signed-off-by: John Howard --- image_build.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/image_build.go b/image_build.go index 0094602a6e..3abd87025e 100644 --- a/image_build.go +++ b/image_build.go @@ -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")