mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
(nextjs) fixed cache path: added restore step
This commit is contained in:
parent
31df449eae
commit
535aac9b09
1 changed files with 13 additions and 0 deletions
13
.drone.yml
13
.drone.yml
|
@ -73,6 +73,19 @@ steps:
|
|||
from_secret: global_docker_registry
|
||||
repo:
|
||||
from_secret: docker_repo
|
||||
- name: rebuild-cache-with-filesystem
|
||||
image: meltwater/drone-cache:dev
|
||||
pull: true
|
||||
settings:
|
||||
backend: "filesystem"
|
||||
rebuild: true
|
||||
cache_key: '{{ .Repo.Name }}_{{ checksum "package.json" }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
||||
archive_format: "gzip"
|
||||
mount:
|
||||
- '/app/node_modules'
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue