-
Notifications
You must be signed in to change notification settings - Fork 45
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
Publish linux/arm64 images #101
Conversation
|
||
- name: Set up QEMU | ||
id: qemu | ||
uses: docker/setup-qemu-action@v1 |
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.
What does this do?
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.
It is installing QEMU binaries to support building for ARM.
The suggestion to use this came from docker/buildx#495 (comment), prior to including this I was getting many errors in my local fork, such as:
#15 28.06 Error while loading /usr/sbin/dpkg-split: No such file or directory
#15 28.07 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#15 28.07 dpkg: error processing archive /tmp/apt-dpkg-install-Gsh52m/00-libssl1.1_1.1.1f-1ubuntu2.12_arm64.deb (--unpack):
#15 28.07 dpkg-deb --control subprocess returned error exit status 1
Hi @marten-seemann, can this be merged? |
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.
Thank you!
@WesleyRosenblum CI seems unhappy with this change. Can you check what's going on? |
I can't see the exact issue, but I'm guessing it's because pull requests from forked repos do not have access to the secrets needed to login to Docker hub |
Ok, let's see how it behaves on master. |
This change upgrades to docker/build-push-action v2 (which supports building multi-platform images) and adds support for
linux/arm64
. This is needed for running the quic network simulator locally on ARM hardware, such as Apple M1.