From 30036a2401405e072ab485e18c944b279ac16ddb Mon Sep 17 00:00:00 2001 From: chufan Date: Tue, 4 Feb 2025 22:29:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D`bundle`=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=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 63aa263..96aaeb2 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, + VipDocker, + VipGit, } from '@142vip/utils' (async () => { @@ -24,10 +24,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