From 0d14f451f3a1a6ab8e3635ab3a0c6754290d6f9f Mon Sep 17 00:00:00 2001 From: huanghs Date: Fri, 24 Mar 2023 11:15:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.gitea/workflows/build.ya?= =?UTF-8?q?ml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 4cca49e..3c9b298 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -38,9 +38,10 @@ jobs: - name: WeChat Work notification uses: seepine/action-wechat-work@master + if: ${{ !secrets.WECHAT_WORK_BOT_WEBHOOK }} env: - WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}} + WECHAT_WORK_BOT_WEBHOOK: ${{ secrets.WECHAT_WORK_BOT_WEBHOOK }} with: msgtype: markdown content: "${{ steps.meta.outputs.REPO_NAME }}构建成功。\n - > 镜像:${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}" \ No newline at end of file + > 镜像: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}" \ No newline at end of file