Skip to content

Commit 66acbb7

Browse files
committed
chore: 添加带版本号的docker镜像
1 parent ef79ba6 commit 66acbb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ jobs:
176176
password: ${{ secrets.GITHUB_TOKEN }}
177177

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

0 commit comments

Comments
 (0)