From 5601914f69bd742f0bdbb436ff6efa508d4b021d Mon Sep 17 00:00:00 2001 From: leo Date: Sun, 23 Jun 2024 19:57:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ali-docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ali-docker-image.yml b/.github/workflows/ali-docker-image.yml index 530ef13..cf3cfaa 100644 --- a/.github/workflows/ali-docker-image.yml +++ b/.github/workflows/ali-docker-image.yml @@ -3,7 +3,7 @@ name: Ali Docker Image CI on: push: tags: - - 'v*' + - 'va*' # 每次 push tag 时进行构建,不需要每次 push 都构建。使用通配符匹配每次 tag 的提交,记得 tag 名一定要以 v 开头 env: @@ -33,4 +33,4 @@ jobs: - name: Enable Docker Buildx run: docker buildx use mybuilder - name: Build and push - run: docker buildx build . --file Dockerfile --platform linux/amd64,linux/arm64/v8,linux/arm/v7 -t ${{ env.IMAGE_NAME }}:${{ steps.vars.outputs.tag }} -t ${{ env.IMAGE_NAME }}:latest --push + run: ls & docker buildx build . --file Dockerfile --platform linux/amd64,linux/arm64/v8,linux/arm/v7 -t ${{ env.IMAGE_NAME }}:${{ steps.vars.outputs.tag }} -t ${{ env.IMAGE_NAME }}:latest --push