部署(HEL-235): 修正构建留痕的远端参数传递
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -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})"
|
||||
|
||||
Reference in New Issue
Block a user