mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
(nextjs) fixed cache path
This commit is contained in:
parent
7cc7f2e27c
commit
0852a7e480
1 changed files with 3 additions and 4 deletions
|
@ -16,14 +16,10 @@ steps:
|
||||||
settings:
|
settings:
|
||||||
backend: "filesystem"
|
backend: "filesystem"
|
||||||
restore: true
|
restore: true
|
||||||
filesystem_cache_root: "/tmp"
|
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "package.json" }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
cache_key: '{{ .Repo.Name }}_{{ checksum "package.json" }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
||||||
archive_format: "gzip"
|
archive_format: "gzip"
|
||||||
mount:
|
mount:
|
||||||
- '/app/node_modules'
|
- '/app/node_modules'
|
||||||
volumes:
|
|
||||||
- name: cache
|
|
||||||
path: /tmp
|
|
||||||
- name: build-master
|
- name: build-master
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
when:
|
when:
|
||||||
|
@ -74,3 +70,6 @@ steps:
|
||||||
from_secret: global_docker_registry
|
from_secret: global_docker_registry
|
||||||
repo:
|
repo:
|
||||||
from_secret: docker_repo
|
from_secret: docker_repo
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /tmp/drone-cache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue