GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bake: fix definitions merge order by crazy-max · Pull Request #2237 · docker/buildx

Conversation

@crazy-max

@crazy-max crazy-max commented Feb 2, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@crazy-max
bake: fix definitions merge order
052f279
Signed-off-by: CrazyMax <[email protected]>
@crazy-max crazy-max added the needs-cherry-pick/v0.12 label Feb 2, 2024
@crazy-max crazy-max added this to the v0.12.2 milestone Feb 2, 2024
@crazy-max
crazy-max requested review from jedevc and tonistiigi February 2, 2024 10:18
@crazy-max crazy-max added the status/needs-follow-up label Feb 2, 2024
jedevc
jedevc approved these changes Feb 2, 2024
View reviewed changes

@jedevc jedevc left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this 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 🎉

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@crazy-max
crazy-max merged commit 2c1f464 into docker:master Feb 2, 2024
@crazy-max
crazy-max deleted the fix-bake-read-order branch February 2, 2024 12:42
@crazy-max crazy-max removed the needs-cherry-pick/v0.12 label Feb 2, 2024
@crazy-max crazy-max mentioned this pull request Feb 2, 2024
[v0.12] cherry-picks for v0.12.2 #2233
Closed
@crazy-max crazy-max mentioned this pull request Mar 18, 2024
don't set cwd:// prefix for local bake files docker/metadata-action#382
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jedevc jedevc jedevc approved these changes
@tonistiigi tonistiigi Awaiting requested review from tonistiigi

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

status/needs-follow-up

Projects

None yet

Milestone

v0.12.2

Development

Successfully merging this pull request may close these issues.

inconsistent bake files merge order

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@crazy-max @jedevc
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.