-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
39 lines (39 loc) · 974 Bytes
/
.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
pipeline:
build:
image: openjdk:8
environment:
- GRADLE_USER_HOME=./.gradle
commands:
- mv ./src/main/resources/application.properties.example src/main/resources/application.properties
- ./gradlew build
when:
branch: master
status: success
docker:
when:
branch: master
status: success
image: plugins/docker:1.12
repo: registry.eorlbruder.de/civbudget
registry: registry.eorlbruder.de
tags:
- latest
dockerfile: ./Dockerfile
context: ./
secrets: [docker_username, docker_password]
notify:
image: drillster/drone-email
when:
branch: master
status: [success, failure, changed]
secrets:
- source: email_host
target: email_host
- source: email_password
target: email_password
- source: email
target: plugin_from
- source: email
target: email_username
- source: email
target: email_recipients