-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
40 lines (36 loc) · 831 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
40
pipeline:
restore-cache:
image: drillster/drone-volume-cache
restore: true
mount:
- .ivy2
volumes:
- /home/yantranet/cache:/cache
when:
event: tag
branch:
include: "${DRONE_TAG}"
build:
image: bigtruedata/sbt:latest
commands:
- ./sbt -Dsbt.ivy.home=.ivy2 clean universal:packageZipTarball
when:
event: tag
branch:
include: "${DRONE_TAG}"
rebuild-cache:
image: drillster/drone-volume-cache
rebuild: true
mount:
- .ivy2
volumes:
- /home/yantranet/cache:/cache
when:
event: tag
branch:
include: "${DRONE_TAG}"
docker:
image: plugins/docker
repo: bhavyalatha26/play-scala-demo:1.0.0
secrets: [ docker_username, docker_password ]
branches: [master]