-
Notifications
You must be signed in to change notification settings - Fork 59
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
Build M1 Mac Images #4100
Build M1 Mac Images #4100
Conversation
Thanks for your contribution Spencer. We're doing some research to make sure we can test locally and to ensure we add support properly before we merge this in. |
Signed-off-by: Amndeep Singh Mann <[email protected]>
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.
Tested local builds work on M1 mac
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
hi @spencer-cdw. i'm going to need to revert this change for now. we are still very interested in having multiplatform builds, but at the moment it's causing the CI to take multiple hours or even timeout entirely while trying to build the images. we're gonna be brainstorming solutions for this (non github workflow based build + upload? change underlying container image again? something you can come up with?), so do expect the functionality to come back. workflow runs exhibiting problems: https://github.com/mitre/heimdall2/actions/runs/4568237540/jobs/8063032619 https://github.com/mitre/heimdall2/actions/runs/4568237543/jobs/8063032750 issue tracking multiplatform builds: #4295 |
If you attempt to run this container on an M1 mac, the user will encounter this error
There are stackoverflow questions that suggest multiple workarounds, however non are working for me.
It would be nice if a native M1 mac build was provided in addition to the amd64 builds
Additional information
github actions build-push-action buildkit documentation: https://github.com/docker/build-push-action