mirror of https://github.com/docker/cli.git
Merge pull request #23389 from Microsoft/jjh/credentialspec
Windows: Support credential specs
This commit is contained in:
commit
2ba5d3a260
|
@ -49,7 +49,8 @@ func (cli *Client) ImageBuild(ctx context.Context, buildContext io.Reader, optio
|
||||||
|
|
||||||
func imageBuildOptionsToQuery(options types.ImageBuildOptions) (url.Values, error) {
|
func imageBuildOptionsToQuery(options types.ImageBuildOptions) (url.Values, error) {
|
||||||
query := url.Values{
|
query := url.Values{
|
||||||
"t": options.Tags,
|
"t": options.Tags,
|
||||||
|
"securityopt": options.SecurityOpt,
|
||||||
}
|
}
|
||||||
if options.SuppressOutput {
|
if options.SuppressOutput {
|
||||||
query.Set("q", "1")
|
query.Set("q", "1")
|
||||||
|
|
Loading…
Reference in New Issue