update cache

This commit is contained in:
zhiqiang feng
2022-09-26 15:47:41 +08:00
parent 5c1c584e4c
commit 7f28dc007d
+1 -11
View File
@@ -15,23 +15,13 @@ clone:
steps:
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./node_modules
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./node_modules
- name: build
image: reg.int.it2000.com.cn/library/node:14.20-bullseye
@@ -44,7 +34,7 @@ steps:
volumes:
- name: cache
host:
path: /opt/node/cache
path: /opt/node/cache/node_modules
- name: certs
host:
path: /etc/ssl/certs