From 70f1d2595cc590ccf1f8b672cf3587cac3cc0dd3 Mon Sep 17 00:00:00 2001 From: "Jonathan A. Sternberg" Date: Thu, 13 Nov 2025 12:41:31 -0600 Subject: [PATCH] docs: add a link from the cli reference to the bake file reference for variables I spent some time looking how to override a variable in a bakefile. My assumption was that there would be a CLI option to do that and was confused when I couldn't find it. This adds a reference to point someone in the correct direction of using environment variables which is present in the bake file reference but isn't in the CLI documentation. Signed-off-by: Jonathan A. Sternberg --- docs/reference/buildx_bake.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reference/buildx_bake.md b/docs/reference/buildx_bake.md index a7ab10edc85c..5b7faad77758 100644 --- a/docs/reference/buildx_bake.md +++ b/docs/reference/buildx_bake.md @@ -458,3 +458,7 @@ You can append using `+=` operator for the following fields: > [!NOTE] > ยน These fields already append by default. + +### Override variables in a Bake file + +See the [Variable](buildx_bake.md#variable) section in the Bake file reference.