From 039becdcb4fc1b9e187deb798cdd57831301f7c7 Mon Sep 17 00:00:00 2001 From: Tri Vo Khac Date: Fri, 13 Nov 2026 23:38:59 +0700 Subject: [PATCH] ci: run the Arch container as amd64 on arm64 runners --- .gitea/workflows/ci.yml | 5 ++++- .gitea/workflows/release.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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: |