Skip to content

Commit

Permalink
chore: 添加带版本号的docker镜像
Browse files Browse the repository at this point in the history
  • Loading branch information
nashaofu committed Oct 5, 2024
1 parent ef79ba6 commit 12412b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,11 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker images
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/nashaofu/wol:latest
tags:
- ${{ env.REGISTRY }}/nashaofu/wol:latest
- ${{ env.REGISTRY }}/nashaofu/wol:${{ github.ref_name }}

0 comments on commit 12412b5

Please sign in to comment.