From 27984595a04cc92bdb6aaadc62445a239a0bd1d5 Mon Sep 17 00:00:00 2001 From: avalonche Date: Wed, 11 Dec 2024 16:37:22 +1100 Subject: [PATCH] testing --- .github/workflows/release.yml | 14 +++++++++++--- Dockerfile | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ebd930..3f9a01f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,8 +12,16 @@ permissions: jobs: docker-image: name: Publish Docker Image - runs-on: ubuntu-latest-xlarge - + strategy: + matrix: + config: + - target: x86_64-unknown-linux-gnu + runner: warp-ubuntu-latest-x64-16x + platform: linux/amd64 + - target: aarch64-unknown-linux-gnu + runner: warp-ubuntu-latest-arm64-16x + platform: linux/arm64 + runs-on: ${{ matrix.config.runner }} steps: - name: Checkout sources uses: actions/checkout@v2 @@ -62,7 +70,7 @@ jobs: push: true build-args: | VERSION=${{ env.RELEASE_VERSION }} - platforms: linux/amd64,linux/arm64 + platforms: ${{ matrix.config.platform }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/Dockerfile b/Dockerfile index 10b34d2..1da923b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ FROM rust:1.82 as base ARG FEATURES -RUN cargo install sccache --version ^0.8 +RUN cargo install sccache --version ^0.9 RUN cargo install cargo-chef --version ^0.1 RUN apt-get update \