-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
How can I pass --from-platforms using plain Jib CLI? #4201
Comments
Looking at Unfortunately, the only workaround I can think of is to use the from:
image: "ubuntu"
# set platforms for multi architecture builds, defaults to `linux/amd64`
platforms:
- architecture: "arm"
os: "linux"
- architecture: "amd64"
os: "darwin" |
@chanseokoh thank you for the quick response, I thought so according to the documentation, and I will try the yaml approach. I will close the issue with this resolution, but I have just a question maybe you know Do you have any defaults in |
I just realized that I use |
@chanseokoh can we implement a feature in the scope of this issue to pass platforms from the CLI parameters? I see it's possible, we can replace here |
In Gradle it's possible:
But when I use CLI (I really use CLI in one of the projects):
this fails with
The text was updated successfully, but these errors were encountered: