From 6fee28c9e9c7519bde1feeb246cd38e31bd5a6e4 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 12 Sep 2024 09:14:10 +0800 Subject: [PATCH] chore: --- .github/workflows/build-image.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 988feb2a..bfdd365f 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -64,10 +64,10 @@ jobs: username: ${{ secrets.dockerhub_username }} password: ${{ secrets.dockerhub_password }} - - name: Build and push + - name: Build default platforms uses: docker/build-push-action@v6 with: - platforms: linux/amd64,linux/arm64,linux/arm/v7 + platforms: linux/amd64,linux/arm64 push: true context: ./packages/ui/ tags: | @@ -75,3 +75,15 @@ jobs: registry.cn-shenzhen.aliyuncs.com/handsfree/certd:${{steps.get_certd_version.outputs.result}} greper/certd:latest greper/certd:${{steps.get_certd_version.outputs.result}} + + - name: Build armv7 + uses: docker/build-push-action@v6 + with: + platforms: linux/amd64 + push: true + context: ./packages/ui/ + tags: | + registry.cn-shenzhen.aliyuncs.com/handsfree/certd:latest-armv7 + registry.cn-shenzhen.aliyuncs.com/handsfree/certd:${{steps.get_certd_version.outputs.result}}-armv7 + greper/certd:latest-armv7 + greper/certd:${{steps.get_certd_version.outputs.result}}-armv7