test
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user