FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bake: pass variables explicitly to buildx by crazy-max · Pull Request #277 · docker/github-builder · GitHub

bake: pass variables explicitly to buildx - #277

Draft
crazy-max wants to merge 4 commits into
docker:mainfrom
crazy-max:bake-vars
Draft

bake: pass variables explicitly to buildx#277
crazy-max wants to merge 4 commits into
docker:mainfrom
crazy-max:bake-vars

Conversation

crazy-max commented Aug 13, 2026
edited
Loading

Copy link
Copy Markdown
Member

needs #248 (see last commit)

This changes the Bake reusable workflow to pass caller-provided Bake variables through docker/bake-action as explicit vars instead of exporting them into the step environment. Bake environment variable lookup is disabled so workflow and runner env values do not accidentally override Bake variables, while GITHUB_ and RUNNER_ prefixed values are still forwarded explicitly for workflows that intentionally declare them.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>

This comment was marked as spam.

Disable Bake environment variable lookup so workflow and runner environment
values do not implicitly override Bake variables. Forward only GITHUB_ and RUNNER_
prefixed values as explicit Bake vars, then pass the caller vars input
through docker/bake-action.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL