Skip to content

Commit

Permalink
修改版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Jun 23, 2024
1 parent daf314a commit 5601914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ali-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Ali Docker Image CI
on:
push:
tags:
- 'v*'
- 'va*'
# 每次 push tag 时进行构建,不需要每次 push 都构建。使用通配符匹配每次 tag 的提交,记得 tag 名一定要以 v 开头

env:
Expand Down Expand Up @@ -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

0 comments on commit 5601914

Please sign in to comment.