@@ -310,6 +310,8 @@ They're used to configure the Buildx client, or the BuildKit daemon.
310
310
| [ BUILDKIT_HOST] ( #buildkit_host ) | String | Specify host to use for remote builders. |
311
311
| [ BUILDKIT_PROGRESS] ( #buildkit_progress ) | String | Configure type of progress output. |
312
312
| [ BUILDKIT_TTY_LOG_LINES] ( #buildkit_tty_log_lines ) | String | Number of log lines (for active steps in TTY mode). |
313
+ | [ BUILDX_BAKE_FILE] ( #buildx_bake_file ) | String | Specify the build definition file(s) for ` docker buildx bake ` . |
314
+ | [ BUILDX_BAKE_FILE_SEPARATOR] ( #buildx_bake_file_separator ) | String | Specify the file-path separator for ` BUILDX_BAKE_FILE ` . |
313
315
| [ BUILDX_BAKE_GIT_AUTH_HEADER] ( #buildx_bake_git_auth_header ) | String | HTTP authentication scheme for remote Bake files. |
314
316
| [ BUILDX_BAKE_GIT_AUTH_TOKEN] ( #buildx_bake_git_auth_token ) | String | HTTP authentication token for remote Bake files. |
315
317
| [ BUILDX_BAKE_GIT_SSH] ( #buildx_bake_git_ssh ) | String | SSH authentication for remote Bake files. |
@@ -438,6 +440,44 @@ Example:
438
440
}
439
441
```
440
442
443
+ ### BUILDX_BAKE_FILE
444
+
445
+ {{< summary-bar feature_name="Buildx bake file" >}}
446
+
447
+ Specify one or more build definition files for ` docker buildx bake ` .
448
+
449
+ This environment variable provides an alternative to the ` -f ` / ` --file ` command-line flag.
450
+
451
+ Multiple files can be specified by separating them with the system path separator (":" on Linux/macOS, ";" on Windows):
452
+
453
+ ``` console
454
+ export BUILDX_BAKE_FILE=file1.hcl:file2.hcl
455
+ ```
456
+
457
+ Or with a custom separator defined by the [ BUILDX_BAKE_FILE_SEPARATOR] ( #buildx_bake_file_separator ) variable:
458
+
459
+ ``` console
460
+ export BUILDX_BAKE_FILE_SEPARATOR=@
461
+
462
+ ```
463
+
464
+ If both ` BUILDX_BAKE_FILE ` and the ` -f ` flag are set, only the files provided via ` -f ` are used.
465
+
466
+ If a listed file does not exist or is invalid, bake returns an error.
467
+
468
+ ### BUILDX_BAKE_FILE_SEPARATOR
469
+
470
+ {{< summary-bar feature_name="Buildx bake file separator" >}}
471
+
472
+ Controls the separator used between file paths in the ` BUILDX_BAKE_FILE ` environment variable.
473
+
474
+ This is useful if your file paths contain the default separator character or if you want to standardize separators across different platforms.
475
+
476
+ ``` console
477
+ export BUILDX_BAKE_PATH_SEPARATOR=@
478
+
479
+ ```
480
+
441
481
### BUILDX_BAKE_GIT_AUTH_HEADER
442
482
443
483
{{< summary-bar feature_name="Buildx bake Git auth token" >}}
0 commit comments