forked from Deuxfleurs/site
Switch branch to main
- Update cache version to v1.1.0 - Pipeline is explicitely docker
This commit is contained in:
parent
1b4cd1990a
commit
b773a9b190
1 changed files with 10 additions and 3 deletions
13
.drone.yml
13
.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
|
||||
|
|
Loading…
Reference in a new issue