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

feat: crane mutate platform #1919

Merged
merged 1 commit into from May 5, 2024
Merged

Conversation

joshwlewis
Copy link
Contributor

@joshwlewis joshwlewis commented Apr 10, 2024

This is a potential solution to #1918, and allows an image config's os/arch/variant/osversion to be set via crane mutate myimage --set-platform linux/arm64.

I chose --set-platform, since --platform is already in use as a persistent flag and a selector for the image to mutate.

Copy link

google-cla bot commented Apr 10, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Signed-off-by: Josh W Lewis <josh.w.lewis@gmail.com>
@imjasonh imjasonh enabled auto-merge (squash) May 5, 2024 15:47
@imjasonh imjasonh merged commit ff385a9 into google:main May 5, 2024
18 checks passed
@joshwlewis joshwlewis deleted the mutate-platform branch May 6, 2024 15:50
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.

None yet

2 participants