From 77173242fb641c95667d4fd97f165bf7ba8a48a9 Mon Sep 17 00:00:00 2001 From: soxft Date: Wed, 31 Jul 2024 11:40:46 +0800 Subject: [PATCH] fix: workflow --- .github/workflows/docker.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fc16667..a594b3e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -28,7 +28,7 @@ jobs: context: . file: ./Dockerfile push: true - tags: xcsoft/busuanzi:${{ github.ref }} + tags: xcsoft/busuanzi:${{ github.event.release.tag_name }} github-docker: runs-on: ubuntu-latest @@ -53,7 +53,7 @@ jobs: context: . file: ./Dockerfile push: true - tags: ghcr.io/soxft/busuanzi:${{ github.ref }} + tags: ghcr.io/soxft/busuanzi:${{ github.event.release.tag_name }} build: runs-on: ubuntu-latest @@ -91,4 +91,5 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} release_name: ${{ github.ref }} tag_name: ${{ github.ref }} - body: ${{ github.event.release.body }} \ No newline at end of file + body: ${{ github.event.release.body }} + draft: true \ No newline at end of file