This commit is contained in:
dongmei
2026-06-17 16:38:41 +08:00
parent fb0fba9a0c
commit b94df17009

View File

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