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