forked from addbee/haproxy-wi-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
48 lines (44 loc) · 1.13 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
kind: pipeline
type: docker
name: haproxy-wi-docker
steps:
- name: restore-cache-with-filesystem
image: meltwater/drone-cache:v1.1
settings:
restore: true
backend: "filesystem"
cache_key: '{{ .Repo.Name }}_{{ checksum "composer.lock" }}_v1'
archive_format: "gzip"
mount:
- 'vendor'
volumes:
- name: DroneIO-Cache
path: /tmp/cache
- name: rebuild-cache-with-filesystem
image: meltwater/drone-cache:v1.1
settings:
rebuild: true
backend: "filesystem"
cache_key: '{{ .Repo.Name }}_{{ checksum "composer.lock" }}_v1'
archive_format: "gzip"
mount:
- 'vendor'
volumes:
- name: DroneIO-Cache
path: /tmp/cache
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: saaq.whnet.ca/samuelleb11/haproxy-wi-docker
cache_from: "saaq.whnet.ca/samuelleb11/haproxy-wi-docker:0.0.1"
registry: saaq.whnet.ca
tags:
- 0.0.1
volumes:
- name: DroneIO-Cache
host:
path: /var/lib/cache