forked from juanluisbaptiste/docker-mconf-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
41 lines (41 loc) · 1.03 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
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-mconf-web
- jbaptiste_cs/apukay-mconf-web
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoiamJhcHRpc3RlX2NzIiwidHlwZSI6InVzZXIifQ.2-6Z-9c7f2a0Mb5NYf2MY3e2aFg1XfVesrfk3ExuvmA
when:
event: push
branch: master
success: true
publish:
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASSWORD
email: $$DOCKER_EMAIL
repo: $$DOCKER_USER/mconf-web
tag:
- latest
- 2.1.0-$${COMMIT:0:8}
file: mconf/Dockerfile
context: mconf
load: docker/image-mconf.tar
save:
destination: docker/image-mconf.tar
tag: latest
environment:
- DOCKER_LAUNCH_DEBUG=true
#Temporal fix while running on CentOS
#storage_driver: vfs
cache:
mount:
- docker/image-mconf.tar