You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/buildctl/build.go
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -105,6 +105,10 @@ var buildCommand = cli.Command{
105
105
Name: "ref-file",
106
106
Usage: "Write build ref to a file",
107
107
},
108
+
cli.StringSliceFlag{
109
+
Name: "registry-auth-tlscontext",
110
+
Usage: "Overwrite TLS configuration when authenticating with registries, e.g. --registry-auth-tlscontext host=https://myserver:2376,ca=/path/to/my/ca.crt,cert=/path/to/my/cert.crt,key=/path/to/my/key.crt",
Copy file name to clipboardExpand all lines: docs/reference/buildctl.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,22 +62,23 @@ USAGE:
62
62
63
63
64
64
OPTIONS:
65
-
--output value, -o value Define exports for build result, e.g. --output type=image,name=docker.io/username/image,push=true
66
-
--progress value Set type of progress (auto, plain, tty, rawjson). Use plain to show container output (default: "auto")
67
-
--trace value Path to trace file. Defaults to no tracing.
68
-
--local value Allow build access to the local directory
69
-
--oci-layout value Allow build access to the local OCI layout
70
-
--frontend value Define frontend used for build
71
-
--opt value Define custom options for frontend, e.g. --opt target=foo --opt build-arg:foo=bar
72
-
--no-cache Disable cache for all the vertices
73
-
--export-cache value Export build cache, e.g. --export-cache type=registry,ref=example.com/foo/bar, or --export-cache type=local,dest=path/to/dir
74
-
--import-cache value Import build cache, e.g. --import-cache type=registry,ref=example.com/foo/bar, or --import-cache type=local,src=path/to/dir
75
-
--secret value Secret value exposed to the build. Format id=secretname,src=filepath
76
-
--allow value Allow extra privileged entitlement, e.g. network.host, security.insecure
77
-
--ssh value Allow forwarding SSH agent to the builder. Format default|<id>[=<socket>|<key>[,<key>]]
78
-
--metadata-file value Output build metadata (e.g., image digest) to a file as JSON
79
-
--source-policy-file value Read source policy file from a JSON file
80
-
--ref-file value Write build ref to a file
65
+
--output value, -o value Define exports for build result, e.g. --output type=image,name=docker.io/username/image,push=true
66
+
--progress value Set type of progress (auto, plain, tty, rawjson). Use plain to show container output (default: "auto")
67
+
--trace value Path to trace file. Defaults to no tracing.
68
+
--local value Allow build access to the local directory
69
+
--oci-layout value Allow build access to the local OCI layout
70
+
--frontend value Define frontend used for build
71
+
--opt value Define custom options for frontend, e.g. --opt target=foo --opt build-arg:foo=bar
72
+
--no-cache Disable cache for all the vertices
73
+
--export-cache value Export build cache, e.g. --export-cache type=registry,ref=example.com/foo/bar, or --export-cache type=local,dest=path/to/dir
74
+
--import-cache value Import build cache, e.g. --import-cache type=registry,ref=example.com/foo/bar, or --import-cache type=local,src=path/to/dir
75
+
--secret value Secret value exposed to the build. Format id=secretname,src=filepath
76
+
--allow value Allow extra privileged entitlement, e.g. network.host, security.insecure
77
+
--ssh value Allow forwarding SSH agent to the builder. Format default|<id>[=<socket>|<key>[,<key>]]
78
+
--metadata-file value Output build metadata (e.g., image digest) to a file as JSON
79
+
--source-policy-file value Read source policy file from a JSON file
80
+
--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,ca=/path/to/my/ca.crt,cert=/path/to/my/cert.crt,key=/path/to/my/key.crt
0 commit comments