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

Ensure the downloaded os/arch always matches the expected os/arch #1933

Merged
merged 3 commits into from
Oct 30, 2023

Conversation

natalieparellano
Copy link
Member

@natalieparellano natalieparellano commented Oct 12, 2023

Summary

Previously, we didn't provide a platform, so if the downloaded thing (run image or buildpack/extension) is multi-arch we would get whatever is the default.

Now, we ensure:

  • the run image platform matches the builder for pack build and previous image for pack rebase
  • the buildpack/extension platform matches the builder for pack build and pack builder create

@natalieparellano natalieparellano requested review from a team as code owners October 12, 2023 14:04
@github-actions github-actions bot added the type/enhancement Issue that requests a new feature or improvement. label Oct 12, 2023
@github-actions github-actions bot added this to the 0.32.0 milestone Oct 12, 2023
@natalieparellano natalieparellano changed the title Ensure the run image os/arch always matches the builder os/arch Ensure the run image os/arch always matches the expected os/arch Oct 12, 2023
- the builder for `pack build`
- the previous image for `pack rebase`

Signed-off-by: Natalie Arellano <[email protected]>
…uilder create`,

ensure the os/arch matches the builder

Signed-off-by: Natalie Arellano <[email protected]>
@natalieparellano natalieparellano changed the title Ensure the run image os/arch always matches the expected os/arch Ensure the downloaded os/arch always matches the expected os/arch Oct 12, 2023
@natalieparellano
Copy link
Member Author

I updated this PR a bit to encompass more things. It might be easier to review as two separate commits

Copy link
Member

@jjbustamante jjbustamante left a comment

Choose a reason for hiding this comment

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

LGTM

@jkutner jkutner merged commit 13802c2 into main Oct 30, 2023
17 of 18 checks passed
@jkutner jkutner deleted the fix/run-image-multi-arch branch October 30, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Issue that requests a new feature or improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants