From b79fb4e5f48203dca1f2a7e40a2c910891378685 Mon Sep 17 00:00:00 2001 From: kale Date: Mon, 8 Dec 2025 19:01:31 -0500 Subject: [PATCH] =?UTF-8?q?[fix]:[20251208][drone=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=8C=81=E4=B9=85=E5=8C=96=E7=9B=AE=E5=BD=95]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.drone.yml b/.drone.yml index 81f162b..864dbef 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,11 +16,9 @@ workspace: volumes: - name: maven-cache - host: - path: /localcache/maven/repository + path: /localcache/maven/repository - name: npm-cache - host: - path: /localcache/npm-cache + path: /localcache/npm-cache clone: depth: 0 @@ -31,6 +29,9 @@ steps: - name: java-build-test image: registry.cn-beijing.aliyuncs.com/yinzy/maven:jk3.9-8 pull: false + volumes: + - name: maven-cache + path: /localcache/maven/repository environment: MAVEN_OPTS: -Dmaven.repo.local=/localcache/maven/repository commands: @@ -44,9 +45,9 @@ steps: - name: frontend-build image: registry.cn-beijing.aliyuncs.com/yinzy/node:20.11-alpine3.19 pull: false -# volumes: -# - name: npm-cache -# path: /localcache/npm-cache + volumes: + - name: npm-cache + path: /localcache/npm-cache commands: - cd vue-ui - npm config set cache /localcache/npm-cache/.npm @@ -85,17 +86,13 @@ workspace: volumes: - name: maven-cache - host: - path: /localcache/maven/repository + path: /localcache/maven/repository - name: docker_sock - host: - path: /var/run/docker.sock + path: /var/run/docker.sock - name: jar-cache - host: - path: /localcache/apps + path: /localcache/apps - name: npm-cache - host: - path: /localcache/npm-cache + path: /localcache/npm-cache clone: depth: 0