diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 21d348d..a3a5c73 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,7 +8,10 @@ on: jobs: build: runs-on: ubuntu-latest - container: archlinux:latest + # The runner may be arm64; Arch Linux only ships x86_64 images, so run them emulated. + container: + image: archlinux:latest + options: --platform linux/amd64 steps: - name: Install dependencies run: | diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index b9c6ed0..0ddeab8 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -10,7 +10,10 @@ permissions: jobs: release: runs-on: ubuntu-latest - container: archlinux:latest + # The runner may be arm64; Arch Linux only ships x86_64 images, so run them emulated. + container: + image: archlinux:latest + options: --platform linux/amd64 steps: - name: Install dependencies run: |