1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

(nextjs) fixed cache path: added restore step

This commit is contained in:
Fedor Katurov 2022-01-17 17:21:06 +07:00
parent 535aac9b09
commit 958e0815ab

View file

@ -74,18 +74,18 @@ steps:
repo: repo:
from_secret: docker_repo from_secret: docker_repo
- name: rebuild-cache-with-filesystem - name: rebuild-cache-with-filesystem
image: meltwater/drone-cache:dev image: meltwater/drone-cache:dev
pull: true pull: true
settings: settings:
backend: "filesystem" backend: "filesystem"
rebuild: true rebuild: true
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: volumes:
- name: cache - name: cache
path: /tmp/cache path: /tmp/cache
volumes: volumes:
- name: cache - name: cache
temp: {} temp: {}