forked from fluent/fluentd-kubernetes-daemonset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
35 lines (32 loc) · 816 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
docker_build: &docker_build
image: plugins/docker
registry: docker-dev.core.rcsops.com
repo: docker-dev.core.rcsops.com/${DRONE_REPO_NAME}
context: docker-image/v0.12/debian-kafka
dockerfile: docker-image/v0.12/debian-kafka/Dockerfile
proxy_environment: &proxy_environment
environment:
- http_proxy=http://10.131.236.9:3128
- https_proxy=http://10.131.236.9:3128
- no_proxy=localhost,127.0.0.1,docker-dev.core.rcsops.com
pipeline:
verify:
<<: *docker_build
<<: *proxy_environment
dry_run: true
when:
event: pull_request
publish:
<<: *docker_build
<<: *proxy_environment
auto_tag: true
secrets:
- docker_username
- docker_password
when:
event:
- tag
- push
branch:
- master
- refs/tags/*