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

bogus warning on bake --call=outline #2888

Open
tonistiigi opened this issue Jan 6, 2025 · 2 comments
Open

bogus warning on bake --call=outline #2888

tonistiigi opened this issue Jan 6, 2025 · 2 comments

Comments

@tonistiigi
Copy link
Member

Calling docker buildx bake binaries --call=outline on a mac return among other things

 => WARN: Requested platform "darwin/arm64" does not match result platform "linux/arm64"                                                                   0.0s

 1 warning found (use docker --debug to expand):
 - Requested platform "darwin/arm64" does not match result platform "linux/arm64"
binaries

This seems to be some conflict between this target requesting a mac binary as a result and no actual result being created because of the --call=outline.

@jsternberg
Copy link
Collaborator

What should happen if --call=outline is called with multiple platforms? Should we return an error? The outline structure doesn't really seem to be multi-platform friendly.

@tonistiigi
Copy link
Member Author

I think combining wouldn't be that bad. Different platforms can use separate build-args but atm same arg can't have multiple values. If different values per platform will be supported then I guess platform should be part of arg key if there are multiple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants