From 21619715c465c78cc8d0998eae7b47bc8a82bcfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=91=E5=BC=BA?= Date: Wed, 24 Sep 2025 17:20:11 +0800 Subject: [PATCH] Update buildctl.md Signed-off-by: yardstrong --- cmd/buildctl/build.go | 2 +- docs/reference/buildctl.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/buildctl/build.go b/cmd/buildctl/build.go index f31773401c53..01fd1c13d7ce 100644 --- a/cmd/buildctl/build.go +++ b/cmd/buildctl/build.go @@ -109,7 +109,7 @@ var buildCommand = cli.Command{ }, cli.StringSliceFlag{ Name: "registry-auth-tlscontext", - 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", + 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", }, cli.StringFlag{ Name: "debug-json-cache-metrics", diff --git a/docs/reference/buildctl.md b/docs/reference/buildctl.md index ede9679ab255..de2fd2f6df39 100644 --- a/docs/reference/buildctl.md +++ b/docs/reference/buildctl.md @@ -78,7 +78,7 @@ OPTIONS: --metadata-file value Output build metadata (e.g., image digest) to a file as JSON --source-policy-file value Read source policy file from a JSON file --ref-file value Write build ref to a file - --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 + --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 --debug-json-cache-metrics value Where to output json cache metrics, use 'stdout' or 'stderr' for standard (error) output. ```