forked from johnsusek/praeco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
40 lines (37 loc) · 1 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
---
pipeline:
# publish to public registry
hubpublish:
image: plugins/docker
repo: servercentral/praeco
tags: latest
secrets: [ docker_username, docker_password ]
when:
branch: master
build:
image: registry.servercentral.com/drone-plugins/builder
pull: true
environment:
- HARNESS_OPTIONS=j17:c
- PROJECT_NAME=servercentral/praeco
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# publish to internal registry
tagandpublish:
image: registry.servercentral.com/drone-plugins/tagandpublish
pull: true
environment:
- PROJECT_NAME=servercentral/praeco
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deployment:
image: registry.servercentral.com/drone-plugins/awxdeployment
pull: true
environment:
- PROJECT_PLAYBOOK=playbooks/public-docker-cluster/praeco.yml
volumes:
- /etc/tower/tower_cli.cfg:/etc/tower/tower_cli.cfg
when:
event: push
branch: master
status: success