forked from rancher/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone.yml
37 lines (35 loc) · 773 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
---
pipeline:
docker-publish-dev:
group: publish
image: plugins/docker
dockerfile: Dockerfile.dev
repo: rancher/docs
context: .
tag: dev
secrets: [docker_username, docker_password]
when:
branch: master
event: push
docker-publish-staging:
group: publish
image: plugins/docker
dockerfile: Dockerfile.staging
repo: rancher/docs
context: .
tag: staging
secrets: [docker_username, docker_password]
when:
branch: master
event: push
docker-publish-latest:
group: publish
image: plugins/docker
dockerfile: Dockerfile.prod
repo: rancher/docs
context: .
tag: latest
secrets: [docker_username, docker_password]
when:
branch: master
event: push