From ef3931ab60424c609495cf03bffedf6100d88379 Mon Sep 17 00:00:00 2001 From: Jinnrry Date: Sun, 18 Feb 2024 11:07:34 +0800 Subject: [PATCH] =?UTF-8?q?add=20arm=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker_build_pre.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/docker_build_pre.yml b/.github/workflows/docker_build_pre.yml index f37dc0ed..6b76beab 100644 --- a/.github/workflows/docker_build_pre.yml +++ b/.github/workflows/docker_build_pre.yml @@ -30,6 +30,12 @@ jobs: env: REPOSITORY: '${{ github.repository }}' + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to the Container registry uses: docker/login-action@v2.1.0 with: @@ -41,6 +47,15 @@ jobs: uses: docker/build-push-action@v4 with: context: . + platforms: | + linux/386 + linux/amd64 + linux/arm/v5 + linux/arm/v7 + linux/arm64 + linux/mips64le + linux/ppc64le + linux/s390x push: true tags: | ${{ env.REGISTRY }}/${{ env.REPOSITORY_LC }}:${{ env.VERSION }}