aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index a1a2ab0e..8d356893 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -12,7 +12,9 @@ steps:
pull: true
settings:
restore: true
+ archive_format: "gzip"
bucket: drone-cache
+ cache_key: '{{ .Repo.Name }}_{{ checksum "Cargo.lock" }}_{{ arch }}_{{ os }}_gzip'
region: garage
mount:
- 'target'
@@ -38,6 +40,7 @@ steps:
rebuild: true
archive_format: "gzip"
bucket: drone-cache
+ cache_key: '{{ .Repo.Name }}_{{ checksum "Cargo.lock" }}_{{ arch }}_{{ os }}_gzip'
region: garage
mount:
- 'target'