Fix release pipeline for Docker multi-arch images
Closed this issue · 0 comments
LukeChannings commented
It appears that QEMU has a bug that causes the Docker build to fail when building MovieMatch for ARM64.
deno bundle
fails with:
error: error sending request for url (https://deno.land/std@0.89.0/log/mod.ts): error trying to connect: tls handshake eof
I can't reproduce this issue on a native ARM64 chip (I tested on an M1 mac with Docker), so I suspect this is a QEMU bug.
Solution:
- Bundle MovieMatch in the binary compile step and add the platform-agnostic JS bundle as an asset to the release
- Make the Docker build depend on the binary release step, and download the bundle instead of the full source