Merge pull request #2287 from hbh112233abc/fix/build-images

fix(build): Enable Docker BuildKit in build_images.sh
main
Zhang GH 2026-08-19 15:04:12 +08:00 committed by GitHub
commit 413435475d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,9 @@ NC='\033[0m' # 无颜色
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$( cd "$SCRIPT_DIR/.." && pwd )"
# 启用 BuildKit
export DOCKER_BUILDKIT=1
# 版本信息
VERSION="1.0.0"
SCRIPT_NAME=$(basename "$0")
@ -416,4 +419,4 @@ if [ "$BUILD_SANDBOX" = true ]; then
exit $?
fi
exit 0
exit 0