4
0

add volume for restore operation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-05-06 14:19:47 +02:00
parent ba124d3d3a
commit dec5339680
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -10,7 +10,7 @@ steps:
restore: true restore: true
cache_key: "{{ .Repo.Name }}" cache_key: "{{ .Repo.Name }}"
archive_format: "gzip" archive_format: "gzip"
#filesystem_cache_root: "/tmp/cache" filesystem_cache_root: "/tmp/cache"
mount: mount:
- '.pipcache' - '.pipcache'
volumes: volumes:
@ -35,9 +35,12 @@ steps:
rebuild: true rebuild: true
cache_key: "{{ .Repo.Name }}" cache_key: "{{ .Repo.Name }}"
archive_format: "gzip" archive_format: "gzip"
#filesystem_cache_root: "/tmp/cache" filesystem_cache_root: "/tmp/cache"
mount: mount:
- '.pipcache' - '.pipcache'
volumes:
- name: cache
path: /tmp/cache
- name: kaniko - name: kaniko
image: banzaicloud/drone-kaniko image: banzaicloud/drone-kaniko
@ -62,4 +65,4 @@ steps:
volumes: volumes:
- name: cache - name: cache
tmp: {} temp: {}