Skip to content

Commit 83d6196

Browse files
committed
Build: bake file env variables
1 parent 45fdaa3 commit 83d6196

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/manuals/build/building/variables.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -451,14 +451,14 @@ This environment variable provides an alternative to the `-f` / `--file` command
451451
Multiple files can be specified by separating them with the system path separator (":" on Linux/macOS, ";" on Windows):
452452

453453
```console
454-
export BUILDX_BAKE_FILE="file1.hcl:file2.hcl"
454+
export BUILDX_BAKE_FILE=file1.hcl:file2.hcl
455455
```
456456

457457
Or with a custom separator defined by the [BUILDX_BAKE_FILE_SEPARATOR](#buildx_bake_file_separator) variable:
458458

459459
```console
460-
export BUILDX_BAKE_FILE_SEPARATOR="@"
461-
export BUILDX_BAKE_FILE="[email protected]"
460+
export BUILDX_BAKE_FILE_SEPARATOR=@
461+
462462
```
463463

464464
If both `BUILDX_BAKE_FILE` and the `-f` flag are set, only the files provided via `-f` are used.
@@ -474,8 +474,8 @@ Controls the separator used between file paths in the `BUILDX_BAKE_FILE` environ
474474
This is useful if your file paths contain the default separator character or if you want to standardize separators across different platforms.
475475

476476
```console
477-
export BUILDX_BAKE_PATH_SEPARATOR="@"
478-
export BUILDX_BAKE_FILE="[email protected]"
477+
export BUILDX_BAKE_PATH_SEPARATOR=@
478+
479479
```
480480

481481
### BUILDX_BAKE_GIT_AUTH_HEADER

0 commit comments

Comments
 (0)