We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c461e70 + 8bcf041 commit de2c485Copy full SHA for de2c485
docs/bake-reference.md
@@ -1350,11 +1350,17 @@ to define them.
1350
1351
### Use environment variable as default
1352
1353
-You can set a Bake variable to use the value of an environment variable as a default value:
+If an environment variable exists with the same name as a declared Bake
1354
+variable, Bake uses that environment variable value instead of the declared
1355
+default.
1356
+
1357
+To disable this environment-based variable lookup, set
1358
+`BUILDX_BAKE_DISABLE_VARS_ENV_LOOKUP=1`.
1359
1360
1361
```hcl
1362
variable "HOME" {
- default = "$HOME"
1363
+ default = "/root"
1364
}
1365
```
1366
0 commit comments