Simplify the multiarch docker build

Make the binaries build run on the self-hosted runners
This commit is contained in:
Quentin Gliech
2023-09-13 19:58:05 +02:00
parent 37cb0a8e3c
commit 0f5c7db3d4
4 changed files with 177 additions and 176 deletions

View File

@@ -1,15 +0,0 @@
#!/bin/sh
if [ "$#" -ne 1 ]; then
echo "usage: $0 [platform]" >&2
exit 1
fi
if [ "$1" = "linux/arm64" ] || [ "$1" = "linux/arm64/v8" ]; then
echo "aarch64-unknown-linux-musl"
elif [ "$1" = "linux/amd64" ]; then
echo "x86_64-unknown-linux-musl"
else
echo "unsupported platform $1" >&2
exit 2
fi