This commit is contained in:
naiba 2024-10-30 22:50:51 +08:00
parent 45fcbd029f
commit 3b23717080

View File

@ -167,6 +167,7 @@ jobs:
password: ${{ github.token }} password: ${{ github.token }}
- name: Log in to the AliyunCS - name: Log in to the AliyunCS
if: contains(github.ref, 'refs/tags/')
uses: docker/login-action@master uses: docker/login-action@master
with: with:
registry: registry.cn-shanghai.aliyuncs.com registry: registry.cn-shanghai.aliyuncs.com
@ -214,4 +215,3 @@ jobs:
push: true push: true
tags: | tags: |
${{ steps.image-name.outputs.GHCR_IMAGE_NAME }}:${{ steps.extract_branch.outputs.tag }} ${{ steps.image-name.outputs.GHCR_IMAGE_NAME }}:${{ steps.extract_branch.outputs.tag }}
${{ steps.image-name.outputs.ALI_IMAGE_NAME }}:${{ steps.extract_branch.outputs.tag }}