From 35775c71e74273144cfed583c324b664f5ea253c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Fri, 16 Jan 2026 00:59:55 +0800 Subject: [PATCH] =?UTF-8?q?docker:=20=E5=BC=80=E5=90=AF=20arm/v7=20?= =?UTF-8?q?=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56bf654..0bb31cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,12 +23,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - platform: [amd64, arm64] + platform: [amd64, arm64, armv7] include: - platform: amd64 arch: amd64 - platform: arm64 arch: arm64 + - platform: armv7 + arch: arm/v7 steps: - uses: actions/checkout@v4 with: @@ -97,19 +99,20 @@ jobs: if: github.ref_name == 'main' uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm64,linux/arm/v7 context: . push: true tags: ${{ env.VERSION_TAG }} cache-from: | type=gha,scope=amd64 type=gha,scope=arm64 + type=gha,scope=armv7 - name: Publish to Docker Hub latest and stable if: startsWith(github.ref, 'refs/tags/v') uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64,linux/arm64,linux/arm/v7 context: . push: true tags: | @@ -119,6 +122,7 @@ jobs: cache-from: | type=gha,scope=amd64 type=gha,scope=arm64 + type=gha,scope=armv7 # 推送镜像到 GitHub Release publish-release: