diff --git a/tools/build_image.sh b/tools/build_image.sh index 5be2ca7..adac9fb 100755 --- a/tools/build_image.sh +++ b/tools/build_image.sh @@ -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})"