From 1ef8d154acf0377f0252e81c6b8f0d7e464a1d93 Mon Sep 17 00:00:00 2001 From: Miracle575 Date: Fri, 22 Mar 2024 06:17:54 +0000 Subject: [PATCH] =?UTF-8?q?test:=20=E6=94=B9=E5=9B=9E=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-build-publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-build-publish.yaml b/.github/workflows/test-build-publish.yaml index b8f852879b..11b34e760c 100644 --- a/.github/workflows/test-build-publish.yaml +++ b/.github/workflows/test-build-publish.yaml @@ -171,8 +171,8 @@ jobs: tags: ${{ steps.meta.outputs.tags }} file: docker/Dockerfile.${{ matrix.file }} labels: ${{ steps.meta.outputs.labels }} - platforms: linux/amd64,linux/arm64 - + # only build arm64 in master commits + platforms: linux/amd64${{ github.ref_type == 'tag' && ',linux/arm64' || '' }} release: