fix: aliyun image is not built

This commit is contained in:
Yuxing Deng 2024-07-18 20:37:08 +08:00
parent 8bf22555dd
commit 004e4751c8

View File

@ -21,7 +21,7 @@ jobs:
registry: registry.cn-shenzhen.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_TOKEN }}
if: ${{ env.ALIYUN == 'true' }}
if: ${{ vars.ALIYUN == 'true' }}
- name: Login to Dockerhub
uses: docker/login-action@v3
with:
@ -71,7 +71,7 @@ jobs:
tags: registry.cn-shenzhen.aliyuncs.com/${{ steps.image-name.outputs.image_name }}
context: package
push: true
if: ${{ env.ALIYUN == 'true' }}
if: ${{ vars.ALIYUN == 'true' }}
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')