Skip to content

Commit 2161971

Browse files
committed
Update buildctl.md
Signed-off-by: yardstrong <yardstrong@163.com>
1 parent c8fad61 commit 2161971

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/buildctl/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ var buildCommand = cli.Command{
109109
},
110110
cli.StringSliceFlag{
111111
Name: "registry-auth-tlscontext",
112-
Usage: "Overwrite TLS configuration when authenticating with registries, e.g. --registry-auth-tlscontext host=https://myserver:2376,insecure=false,ca=/path/to/my/ca.crt,cert=/path/to/my/cert.crt,key=/path/to/my/key.crt",
112+
Usage: "Overwrite TLS configuration when authenticating with registries, e.g. --registry-auth-tlscontext host=myserver:2376,insecure=false,ca=/path/to/my/ca.crt,cert=/path/to/my/cert.crt,key=/path/to/my/key.crt",
113113
},
114114
cli.StringFlag{
115115
Name: "debug-json-cache-metrics",

docs/reference/buildctl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ OPTIONS:
7878
--metadata-file value Output build metadata (e.g., image digest) to a file as JSON
7979
--source-policy-file value Read source policy file from a JSON file
8080
--ref-file value Write build ref to a file
81-
--registry-auth-tlscontext value Overwrite TLS configuration when authenticating with registries, e.g. --registry-auth-tlscontext host=https://myserver:2376,insecure=false,ca=/path/to/my/ca.crt,cert=/path/to/my/cert.crt,key=/path/to/my/key.crt
81+
--registry-auth-tlscontext value Overwrite TLS configuration when authenticating with registries, e.g. --registry-auth-tlscontext host=myserver:2376,insecure=false,ca=/path/to/my/ca.crt,cert=/path/to/my/cert.crt,key=/path/to/my/key.crt
8282
--debug-json-cache-metrics value Where to output json cache metrics, use 'stdout' or 'stderr' for standard (error) output.
8383
8484
```

0 commit comments

Comments
 (0)