部署(HEL-235): 修正构建留痕的远端参数传递

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
总工
2026-08-29 13:45:05 +08:00
co-authored by multica-agent
parent 585e42dac7
commit 58d2c2fbf6
+1 -2
View File
@@ -85,8 +85,7 @@ IMAGE_ID="$(ssh -o BatchMode=yes "$HOST" "docker image inspect ${REPO_NAME}:${TA
SHORT_ID="${IMAGE_ID##*:}"
ssh -o BatchMode=yes "$HOST" \
'mkdir -p ~/xiaobai-build && printf "%s\t%s\t%s\t%s\tgit-archive-stream\n" "$(date "+%F %T")" "$1" "$2" "$3" >> ~/xiaobai-build/BUILD_LOG.tsv' \
"build-image" "${REPO_NAME}:${TAG}" "${FULL_SHA}" "${SHORT_ID}"
"mkdir -p ~/xiaobai-build && printf '%s\t%s\t%s\t%s\tgit-archive-stream\n' \"\$(date '+%F %T')\" ${REPO_NAME}:${TAG} ${FULL_SHA} ${SHORT_ID} >> ~/xiaobai-build/BUILD_LOG.tsv"
echo "==> 完成"
echo " ${REPO_NAME}:${TAG} (${SHORT_ID})"