update cache
This commit is contained in:
+1
-11
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user