aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximilien R <maximilien@deuxfleurs.fr>2021-04-05 11:16:54 +0200
committerMaximilien R <maximilien@deuxfleurs.fr>2021-04-05 11:16:54 +0200
commitb773a9b1900c79eeebf8630f4c456db8b543ebe5 (patch)
treeeed8f7b507b06397fced52d77fdfa8a04f3452a4
parent1b4cd1990a7578566b5075fd642405ee60e7d37e (diff)
downloadsite-b773a9b1900c79eeebf8630f4c456db8b543ebe5.tar.gz
site-b773a9b1900c79eeebf8630f4c456db8b543ebe5.zip
Switch branch to main
- Update cache version to v1.1.0 - Pipeline is explicitely docker
-rw-r--r--.drone.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml
index 0613438..e5681b2 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,9 +1,12 @@
+# see https://docs.drone.io/pipeline/configuration/
+---
kind: pipeline
-name: default
+type: docker
+name: build
steps:
- name: restore-cache
- image: meltwater/drone-cache:dev
+ image: meltwater/drone-cache:v1.1.0
environment:
AWS_ACCESS_KEY_ID:
from_secret: cache_aws_access_key_id
@@ -39,9 +42,13 @@ steps:
path_style: true
endpoint: https://garage.deuxfleurs.fr
region: garage
+ when:
+ branch:
+ - master
+ - main
- name: rebuild-cache
- image: meltwater/drone-cache:dev
+ image: meltwater/drone-cache:v1.1.0
environment:
AWS_ACCESS_KEY_ID:
from_secret: cache_aws_access_key_id