-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
46 lines (42 loc) · 880 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
41
42
43
44
45
kind: pipeline
name: default
steps:
- name: build
image: sloong/sloongnet_build
commands:
- build/build.sh -d
when:
event: push
branch:
exclude:
- master
- develop
- name: build_docker
image: plugins/docker
settings:
repo: sloong/sloongnet
cache_from: sloong/sloongnet
use_cache: true
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- develop
when:
event: push
branch: develop
- name: release_docker
image: plugins/docker
settings:
repo: sloong/sloongnet
cache_from: sloong/sloongnet
use_cache: true
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
when:
branch: master