forked from ofgp/explorer-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
50 lines (50 loc) · 1.29 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
pipeline:
clone:
image: plugins/git
depth: 50
recursive: true
publish_branchs:
image: plugins/docker
# username: ${DOCKER_USERNAME}
username: admin
# password: ${DOCKER_PASSWORD}
password: bit@ops
registry: https://hub.ibitcome.com
#insecure: true
repo: ${REPO}
mirror: https://szcj37ae.mirror.aliyuncs.com
tags:
- ${DRONE_BRANCH##release/}
when:
event: push
branch: [ release/*, refs/tags/*, master, docker, develop ]
publish_tags:
image: plugins/docker
username: admin
#username: ${DOCKER_USERNAME}
password: bit@ops
#password: ${DOCKER_PASSWORD}
registry: https://hub.ibitcome.com
#insecure: true
repo: ${REPO}
mirror: https://szcj37ae.mirror.aliyuncs.com
tags:
- ${DRONE_TAG}
when:
event: tag
branch: [ release/*, refs/tags/*, master, docker, develop ]
# notify:
# image: drillster/drone-email
# host: smtp.mxhichina.com
# port: 465
# username: ${EMAIL_USERNAME}
# password: ${EMAIL_PASSWORD}
# from: [email protected]
# recipients:
# when:
# branch: [ release/*, refs/tags/*, master, docker, develop ]
# status: [ failure, success ]
matrix:
include:
- REPO: hub.ibitcome.com/backend/browser