From 4a095033ca7754a989bf7c6250e3370c20acdc34 Mon Sep 17 00:00:00 2001 From: KagChi <59391215+KagChi@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:54:02 +0000 Subject: [PATCH] chore: update --- .github/workflows/publish.yml | 4 +++- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index adbe3bc..c23a637 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,4 +15,6 @@ on: jobs: docker: uses: nezuchan/workflows/.github/workflows/docker-build.yml@main - secrets: inherit \ No newline at end of file + secrets: inherit + with: + PLATFORMS: "linux/arm64/v8" \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index eca9473..3bde8a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && \ apt-get install -y curl gcc g++ cmake make # Step 2: Install Rust -RUN curl -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly -y +RUN curl -sSf https://sh.rustup.rs | sh -s -- --profile minimal --default-toolchain nightly -y && rustup component add rust-src --toolchain nightly-aarch64-unknown-linux-gnu # Step 3: Set environment variables ENV PATH="/root/.cargo/bin:${PATH}"