From dec5339680a24c71c0373098ab3bf9b04793e142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 6 May 2020 14:19:47 +0200 Subject: [PATCH] add volume for restore operation --- .drone.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 74ab9bc..c75ef2f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ steps: restore: true cache_key: "{{ .Repo.Name }}" archive_format: "gzip" - #filesystem_cache_root: "/tmp/cache" + filesystem_cache_root: "/tmp/cache" mount: - '.pipcache' volumes: @@ -35,9 +35,12 @@ steps: rebuild: true cache_key: "{{ .Repo.Name }}" archive_format: "gzip" - #filesystem_cache_root: "/tmp/cache" + filesystem_cache_root: "/tmp/cache" mount: - '.pipcache' + volumes: + - name: cache + path: /tmp/cache - name: kaniko image: banzaicloud/drone-kaniko @@ -62,4 +65,4 @@ steps: volumes: - name: cache - tmp: {} + temp: {}