From a6091392d74f1523848b02b4062e3ec548f59af0 Mon Sep 17 00:00:00 2001 From: chufan Date: Thu, 6 Feb 2025 11:31:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D`bundle`=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/bundle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/bundle b/scripts/bundle index c1c219a0a..b62d0b643 100755 --- a/scripts/bundle +++ b/scripts/bundle @@ -11,8 +11,8 @@ import {createRequire} from 'node:module' import process from 'node:process' import { OPEN_SOURCE_ADDRESS, - buildImage, - getRecentGitCommit, + VipGit, + VipDocker, } from '@142vip/utils' @@ -25,10 +25,10 @@ import { const imageName = `${OPEN_SOURCE_ADDRESS.DOCKER_ALIYUNCS_VIP}/docs:${pkg.name}-${pkg.version}` // 最近一次提交信息 - const {hash: gitHash} = await getRecentGitCommit() + const {hash: gitHash} = await VipGit.getRecentGitCommit() // 构建镜像 - await buildImage({ + await VipDocker.buildImage({ imageName, buildArgs: [ // 参数中是否包含 --proxy