Skip to content

build: explain explicit Bake variable overrides - #26442

Merged
crazy-max merged 1 commit into
docker:mainfrom
crazy-max:docs/buildx-3610-bake-variable-overrides
Oct 26, 2026
Merged

crazy-max merged 1 commit into
docker:mainfrom
crazy-max:docs/buildx-3610-bake-variable-overrides

Conversation

@crazy-max

Copy link
Copy Markdown
Member

Description

Documents --var NAME=value for overriding declared Bake variables without changing the shell environment. Explains precedence over environment variables and defaults, type conversion, repeated flags, and use when environment lookup is disabled.

Distinguishes variable overrides from --set target attribute overrides and links the guidance from the overrides page.

Related issues or tickets

The Bake guides only describe environment-based variable overrides.
Add var flag examples, precedence and type behavior, and its distinction
from target attribute overrides.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max requested a review from dvdksn as a code owner October 26, 2026 10:56
@netlify

netlify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 0784853
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6adf31e955f13e58d6e89a58
😎 Deploy Preview https://deploy-preview-26442--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/build Relates to Dockerfiles or docker build command label Oct 26, 2026
@crazy-max
crazy-max merged commit abca864 into docker:main Oct 26, 2026
18 checks passed
@crazy-max
crazy-max deleted the docs/buildx-3610-bake-variable-overrides branch October 26, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants