diff --git a/content/manuals/build/bake/variables.md b/content/manuals/build/bake/variables.md index 1dfa803900..b584cc1483 100644 --- a/content/manuals/build/bake/variables.md +++ b/content/manuals/build/bake/variables.md @@ -78,6 +78,35 @@ $ docker buildx bake --print } ``` +## Escape variable interpolation + +If you want to bypass variable interpolation when parsing the Bake definition, +use double dollar signs (`$${VARIABLE}`). + +```hcl +target "default" { + dockerfile-inline = <