diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 66d9371..d092479 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -120,6 +120,7 @@ jobs: elif . == "arm64v8" then "linux/arm64" elif . == "arm32v7" then "linux/arm/v7" elif . == "i386" then "linux/386" + elif . == "riscv64" then "linux/riscv64" else empty end ) diff --git a/dist-workspace.toml b/dist-workspace.toml index 7d050c2..1c9529d 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -10,7 +10,7 @@ ci = "github" # The installers to generate for each app installers = ["shell"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl"] +targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl", "riscv64gc-unknown-linux-gnu", "riscv64gc-unknown-linux-musl"] # Path that installers should place binaries in install-path = "CARGO_HOME" # Whether to install an updater program diff --git a/docker/README.md b/docker/README.md index 5f4c4b1..ed42596 100644 --- a/docker/README.md +++ b/docker/README.md @@ -21,7 +21,7 @@ The workflow has three stages: - Builds exactly one canonical image per `(cargo-chef version, group key)`: - `-base-` - Uses one representative Rust alias as build input (prefers versioned tags when present). -- Uses upstream `Architectures` to set `buildx` platforms, limited to `amd64`, `arm64`, `arm/v7`, and `386`. +- Uses upstream `Architectures` to set `buildx` platforms, limited to `amd64`, `arm64`, `arm/v7`, `riscv64`, and `386`. - Skips if the canonical image already exists. 3. Publish aliases per group (`publish_group_aliases`)