[fix]:[20251208][drone 测试本地仓库构建]
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
adb6aaff3f
commit
e4d30d38fb
@ -147,7 +147,6 @@ steps:
|
|||||||
pull: false
|
pull: false
|
||||||
settings:
|
settings:
|
||||||
# 1. 仓库认证信息
|
# 1. 仓库认证信息
|
||||||
|
|
||||||
registry:
|
registry:
|
||||||
from_secret: local_registry_app_base_url
|
from_secret: local_registry_app_base_url
|
||||||
username:
|
username:
|
||||||
@ -156,7 +155,7 @@ steps:
|
|||||||
from_secret: local_registry_pass
|
from_secret: local_registry_pass
|
||||||
|
|
||||||
# 2. 镜像名称 (不包含 Tag)
|
# 2. 镜像名称 (不包含 Tag)
|
||||||
repo: ${DRONE_REPO_NAME}
|
repo: /jk/apps/${DRONE_REPO_NAME}-front
|
||||||
|
|
||||||
# 3. 指定 Dockerfile 位置
|
# 3. 指定 Dockerfile 位置
|
||||||
dockerfile: docker/Dockerfile-frontend
|
dockerfile: docker/Dockerfile-frontend
|
||||||
@ -170,9 +169,9 @@ steps:
|
|||||||
- front-${DRONE_TAG} # e.g. back-v1.0.0
|
- front-${DRONE_TAG} # e.g. back-v1.0.0
|
||||||
- front-latest # 方便随时拉取最新版
|
- front-latest # 方便随时拉取最新版
|
||||||
# - front-${DRONE_COMMIT_SHA:0:8}
|
# - front-${DRONE_COMMIT_SHA:0:8}
|
||||||
|
# 如果你需要把 dist.tgz 复制给 build
|
||||||
# 6. (可选) 开启构建缓存,加速下次构建
|
extra_files:
|
||||||
use_cache: true
|
- dist.tgz
|
||||||
|
|
||||||
- name: docker_build
|
- name: docker_build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user