test
This commit is contained in:
@@ -15,7 +15,7 @@ on:
|
|||||||
dry_run:
|
dry_run:
|
||||||
description: '仅构建不推送'
|
description: '仅构建不推送'
|
||||||
required: false
|
required: false
|
||||||
default: 'true'
|
default: 'false'
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- 'true'
|
- 'true'
|
||||||
@@ -220,8 +220,8 @@ jobs:
|
|||||||
ERR_MESSAGE=$(tail -n 20 push.log 2>/dev/null || echo "Docker 镜像推送失败")
|
ERR_MESSAGE=$(tail -n 20 push.log 2>/dev/null || echo "Docker 镜像推送失败")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 回调地址为指定地址时,使用固定镜像地址
|
# dry_run 为 true 时,回调使用固定镜像地址
|
||||||
if [ "$CALLBACK_URL" == "172.27.231.23/api/jobs/build/callback" ]; then
|
if [ "${{ github.event.inputs.dry_run }}" == "true" ]; then
|
||||||
IMAGE_URL="harbor-contest.4pd.io/luopingyi/enginex-iluvatar-bi150/vllm:0.8.3"
|
IMAGE_URL="harbor-contest.4pd.io/luopingyi/enginex-iluvatar-bi150/vllm:0.8.3"
|
||||||
else
|
else
|
||||||
IMAGE_URL="$IMAGE"
|
IMAGE_URL="$IMAGE"
|
||||||
|
|||||||
Reference in New Issue
Block a user