mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-08-21 07:53:01 +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
|
registry: registry.cn-shenzhen.aliyuncs.com
|
||||||
username: ${{ secrets.ACR_USERNAME }}
|
username: ${{ secrets.ACR_USERNAME }}
|
||||||
password: ${{ secrets.ACR_TOKEN }}
|
password: ${{ secrets.ACR_TOKEN }}
|
||||||
if: ${{ env.ALIYUN == 'true' }}
|
if: ${{ vars.ALIYUN == 'true' }}
|
||||||
- name: Login to Dockerhub
|
- name: Login to Dockerhub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@ -71,7 +71,7 @@ jobs:
|
|||||||
tags: registry.cn-shenzhen.aliyuncs.com/${{ steps.image-name.outputs.image_name }}
|
tags: registry.cn-shenzhen.aliyuncs.com/${{ steps.image-name.outputs.image_name }}
|
||||||
context: package
|
context: package
|
||||||
push: true
|
push: true
|
||||||
if: ${{ env.ALIYUN == 'true' }}
|
if: ${{ vars.ALIYUN == 'true' }}
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
Loading…
Reference in New Issue
Block a user