update cache
This commit is contained in:
+1
-11
@@ -15,23 +15,13 @@ clone:
|
|||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
- name: restore-cache
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /cache
|
|
||||||
settings:
|
settings:
|
||||||
restore: true
|
restore: true
|
||||||
mount:
|
mount:
|
||||||
- ./node_modules
|
- ./node_modules
|
||||||
|
|
||||||
- name: rebuild-cache
|
|
||||||
image: drillster/drone-volume-cache
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /cache
|
path: /cache
|
||||||
settings:
|
|
||||||
rebuild: true
|
|
||||||
mount:
|
|
||||||
- ./node_modules
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: reg.int.it2000.com.cn/library/node:14.20-bullseye
|
image: reg.int.it2000.com.cn/library/node:14.20-bullseye
|
||||||
@@ -44,7 +34,7 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
host:
|
host:
|
||||||
path: /opt/node/cache
|
path: /opt/node/cache/node_modules
|
||||||
- name: certs
|
- name: certs
|
||||||
host:
|
host:
|
||||||
path: /etc/ssl/certs
|
path: /etc/ssl/certs
|
||||||
|
|||||||
Reference in New Issue
Block a user