mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-04-27 11:00:48 +00:00
fix: aliyun image is not built
This commit is contained in:
parent
8bf22555dd
commit
004e4751c8
4
.github/workflows/push.yaml
vendored
4
.github/workflows/push.yaml
vendored
@ -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/')
|
||||
|
Loading…
Reference in New Issue
Block a user