diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43c51ba..0def032 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}