From 3b23717080c5f976c9bf9c74261466d33a2c8c55 Mon Sep 17 00:00:00 2001 From: naiba Date: Wed, 30 Oct 2024 22:50:51 +0800 Subject: [PATCH] fix ci --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad33251..7b6ba6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -167,6 +167,7 @@ jobs: password: ${{ github.token }} - name: Log in to the AliyunCS + if: contains(github.ref, 'refs/tags/') uses: docker/login-action@master with: registry: registry.cn-shanghai.aliyuncs.com @@ -214,4 +215,3 @@ jobs: push: true tags: | ${{ steps.image-name.outputs.GHCR_IMAGE_NAME }}:${{ steps.extract_branch.outputs.tag }} - ${{ steps.image-name.outputs.ALI_IMAGE_NAME }}:${{ steps.extract_branch.outputs.tag }}