Split into two parallel pipelines

This commit is contained in:
James Lu 2020-03-07 16:49:17 -08:00
parent 39cbcf1b39
commit d5528cdbc9

View file

@ -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