forked from juanluisbaptiste/docker-otrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
50 lines (48 loc) · 1.11 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
49
50
notify:
email:
recipients:
- juan.baptiste@gmail.com
from: $$SMTP_FROM
host: $$SMTP_HOST
port: $$SMTP_PORT
username: $$SMTP_USERNAME
password: $$SMTP_PASSWORD
downstream:
server: $$DOWNSTREAM_DRONE_SERVER
repositories:
- jbaptiste_cs/ctecsas-otrs
- jbaptiste_cs/apukay-otrs
- jbaptiste_cs/cachesimple-otrs
token: $$DOWNSTREAM_DRONE_TOKEN
when:
event: push
branch: otrs-4_0_x
success: true
publish:
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASSWORD
email: $$DOCKER_EMAIL
repo: $$DOCKER_USER/otrs
tag:
- latest
# - $${BRANCH}-$${COMMIT:0:8}
# - 6.0.6-$${COMMIT:0:8}
- 6.0.11
file: otrs/Dockerfile
context: otrs
environment:
- DOCKER_LAUNCH_DEBUG=true
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASSWORD
email: $$DOCKER_EMAIL
repo: $$DOCKER_USER/otrs-mariadb
tag:
- latest
- $${BRANCH}-$${COMMIT:0:8}
file: mariadb/Dockerfile
context: mariadb
load: docker/image-mariadb.tar
environment:
- DOCKER_LAUNCH_DEBUG=true