Update dashboard.yml
This commit is contained in:
parent
a638fc879a
commit
7e42ca8760
11
.github/workflows/dashboard.yml
vendored
11
.github/workflows/dashboard.yml
vendored
@ -41,9 +41,10 @@ jobs:
|
||||
then ALI_IMAGE_NAME=$(echo "registry.cn-shanghai.aliyuncs.com/naibahq/nezha-dashboard")
|
||||
else ALI_IMAGE_NAME=$(echo "registry.cn-shanghai.aliyuncs.com/${{ github.repository_owner }}/nezha-dashboard" | tr '[:upper:]' '[:lower:]')
|
||||
fi
|
||||
echo "::set-env name=GHRC_IMAGE_NAME::$GHRC_IMAGE_NAME"
|
||||
echo "::set-env name=ALI_IMAGE_NAME::$ALI_IMAGE_NAME"
|
||||
|
||||
echo "::set-output name=GHRC_IMAGE_NAME::$GHRC_IMAGE_NAME"
|
||||
echo "::set-output name=ALI_IMAGE_NAME::$ALI_IMAGE_NAME"
|
||||
id: image-name
|
||||
|
||||
- name: Build dasbboard image And Push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
@ -52,8 +53,8 @@ jobs:
|
||||
platforms: linux/amd64,linux/arm64,linux/arm,linux/386
|
||||
push: true
|
||||
tags: |
|
||||
${{ GHRC_IMAGE_NAME }}
|
||||
${{ ALI_IMAGE_NAME }}
|
||||
${{ steps.image-name.outputs.GHRC_IMAGE_NAME }}
|
||||
${{ steps.image-name.outputs.ALI_IMAGE_NAME }}
|
||||
|
||||
- name: Purge jsdelivr cache
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user