From 6dba36c7f32fb7b90c57167f429ab30a82462427 Mon Sep 17 00:00:00 2001 From: Kurtis Mullins Date: Tue, 3 Oct 2023 22:11:58 -0400 Subject: [PATCH] Fix AMD64 dependency error in CLI Docker Build (#362) Signed-off-by: Tyler Cloutier Co-authored-by: Kurtis Mullins --- .github/workflows/{linux-client.yml => linux-build.yml} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename .github/workflows/{linux-client.yml => linux-build.yml} (88%) diff --git a/.github/workflows/linux-client.yml b/.github/workflows/linux-build.yml similarity index 88% rename from .github/workflows/linux-client.yml rename to .github/workflows/linux-build.yml index ba955b11d0b..6c309a2ada5 100644 --- a/.github/workflows/linux-client.yml +++ b/.github/workflows/linux-build.yml @@ -15,9 +15,12 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Compile Aarch64 Docker run: | - docker build --platform=linux/aarch64 -f crates/cli/Dockerfile -t cli . + docker buildx build --platform=linux/arm64 -f crates/cli/Dockerfile -t cli . mkdir build id=$(docker create cli) docker cp $id:/usr/local/bin/spacetime - > build/spacetime.linux-arm64.tar