[fix]:[20251208][drone 测试本地仓库构建]
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
kale 2025-12-10 07:56:54 -05:00
parent adb6aaff3f
commit e4d30d38fb

View File

@ -147,7 +147,6 @@ steps:
pull: false
settings:
# 1. 仓库认证信息
registry:
from_secret: local_registry_app_base_url
username:
@ -156,7 +155,7 @@ steps:
from_secret: local_registry_pass
# 2. 镜像名称 (不包含 Tag)
repo: ${DRONE_REPO_NAME}
repo: /jk/apps/${DRONE_REPO_NAME}-front
# 3. 指定 Dockerfile 位置
dockerfile: docker/Dockerfile-frontend
@ -170,9 +169,9 @@ steps:
- front-${DRONE_TAG} # e.g. back-v1.0.0
- front-latest # 方便随时拉取最新版
# - front-${DRONE_COMMIT_SHA:0:8}
# 6. (可选) 开启构建缓存,加速下次构建
use_cache: true
# 如果你需要把 dist.tgz 复制给 build
extra_files:
- dist.tgz
- name: docker_build
image: docker:latest