forked from juanluisbaptiste/docker-otrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
70 lines (69 loc) · 1.7 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
notify:
email:
recipients:
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: master
success: true
publish:
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASSWORD
email: $$DOCKER_EMAIL
repo: $$DOCKER_USER/otrs
tag:
- latest
- $${BRANCH}-$${COMMIT:0:8}
file: otrs/Dockerfile
context: otrs
environment:
- DOCKER_LAUNCH_DEBUG=true
#Temporal fix while running on CentOS
#storage_driver: vfs
# dockerhub:
# token: 34deefd6-0539-4650-adf5-8d9944846c2e
# repo: juanluisbaptiste/otrs
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
# dockerhub:
# token: 94fd83d7-b8d1-4353-8cfc-c248623b8799
# repo: juanluisbaptiste/otrs-mariadb
# deploy:
# docker:
# username: $$DOCKER_USER
# password: $$DOCKER_PASSWORD
# email: $$DOCKER_EMAIL
# repo:$$DOCKER_USER/otrs
# when:
# branch: [master, otrs-4_0_x]
# docker:
# username: $$DOCKER_USER
# password: $$DOCKER_PASSWORD
# email: $$DOCKER_EMAIL
# repo:$$DOCKER_USER/otrs-mariadb
# when:
# branch: [master, otrs-4_0_x]