Split into two parallel pipelines
This commit is contained in:
parent
39cbcf1b39
commit
d5528cdbc9
1 changed files with 9 additions and 4 deletions
13
.drone.yml
13
.drone.yml
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "set image tags (normal build)"
|
- name: "set image tags"
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
VERSION: "7.2.10-r2"
|
VERSION: "7.2.10-r2"
|
||||||
|
@ -26,7 +26,12 @@ steps:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
- name: "set image tags (build with contrib)"
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: build-contrib
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "set image tags"
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
VERSION: "7.2.10-r2"
|
VERSION: "7.2.10-r2"
|
||||||
|
@ -35,7 +40,7 @@ steps:
|
||||||
- "# Will build the following tags:"
|
- "# Will build the following tags:"
|
||||||
- "cat .tags"
|
- "cat .tags"
|
||||||
|
|
||||||
- name: "build docker image (contrib)"
|
- name: "build docker image"
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: ovdnet/atheme
|
repo: ovdnet/atheme
|
||||||
|
|
Loading…
Reference in a new issue