From 032f19e7af522426665fd71d1e04dd8c5b6e8f3b Mon Sep 17 00:00:00 2001 From: xianggudawang <2675113934@qq.com> Date: Fri, 9 Oct 2026 05:51:03 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20CI=20=E4=B8=8E=20docker=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=B7=A5=E4=BD=9C=E6=B5=81=E8=BF=81=E7=A7=BB=20ARC=20?= =?UTF-8?q?=E8=87=AA=E6=89=98=E7=AE=A1=20Runner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ci.yml(Go 后端)-> arc-x86-prod - docker-build / docker-image-branch 的 ubuntu-latest 腿与独立 job -> arc-x86-build - ubuntu-24.04-arm 腿、electron(windows)、release 的 macos/windows job 按口径不动 Refs relaxcloud-cn/mail-security-platform#1933 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/docker-build.yml | 4 ++-- .github/workflows/docker-image-branch.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5578dfb1..790aef74e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: backend: name: Backend vet, build, and test if: github.event.action != 'closed' || github.event.pull_request.merged == true - runs-on: ubuntu-latest + runs-on: arc-x86-prod timeout-minutes: 15 env: GOWORK: 'off' @@ -60,7 +60,7 @@ jobs: frontend: name: Frontend typecheck and test if: github.event.action != 'closed' || github.event.pull_request.merged == true - runs-on: ubuntu-latest + runs-on: arc-x86-prod timeout-minutes: 10 defaults: run: diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 7097fc3b1..bca74e2a0 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -21,7 +21,7 @@ jobs: include: - arch: amd64 platform: linux/amd64 - runner: ubuntu-latest + runner: arc-x86-build - arch: arm64 platform: linux/arm64 runner: ubuntu-24.04-arm @@ -106,7 +106,7 @@ jobs: create_manifests: name: Create multi-arch manifests needs: [build_single_arch] - runs-on: ubuntu-latest + runs-on: arc-x86-build if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' permissions: diff --git a/.github/workflows/docker-image-branch.yml b/.github/workflows/docker-image-branch.yml index b5222468c..0d06572ee 100644 --- a/.github/workflows/docker-image-branch.yml +++ b/.github/workflows/docker-image-branch.yml @@ -11,7 +11,7 @@ on: jobs: prepare: name: Prepare Docker tags - runs-on: ubuntu-latest + runs-on: arc-x86-build outputs: branch: ${{ steps.version.outputs.branch }} sha: ${{ steps.version.outputs.sha }} @@ -58,7 +58,7 @@ jobs: include: - arch: amd64 platform: linux/amd64 - runner: ubuntu-latest + runner: arc-x86-build - arch: arm64 platform: linux/arm64 runner: ubuntu-24.04-arm @@ -128,7 +128,7 @@ jobs: create_manifests: name: Create multi-arch manifests (Docker Hub) needs: [prepare, build_single_arch] - runs-on: ubuntu-latest + runs-on: arc-x86-build permissions: id-token: write steps: