Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bake: fix definitions merge order #2237

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Feb 2, 2024

fixes #2236

This is a regression introduced in Buildx 0.12.0 (#1838) that makes order when reading bake definitions inconsistent. Changes are minimal to encourage backporting to v0.12 branch but will open a follow-up to review this logic as we should also consider merge order when importing unattended files from remote or archive. This would be an enhancement so I keep this out for now.

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

@jedevc jedevc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and easy-to-understand fix! LGTM 🎉

@crazy-max crazy-max merged commit 2c1f464 into docker:master Feb 2, 2024
63 checks passed
@crazy-max crazy-max deleted the fix-bake-read-order branch February 2, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inconsistent bake files merge order
2 participants