forked from tensorflow/build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-pipeline.yaml
55 lines (46 loc) · 1.02 KB
/
build-pipeline.yaml
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
46
47
48
49
50
51
52
53
54
55
---
apiVersion: tekton.dev/v1alpha1
kind: Pipeline
metadata:
name: build-pipeline
namespace: sig-build
spec:
resources:
- name: source-repo
type: git
- name: image-webhook
type: image
- name: image-linuxcpu
type: image
tasks:
- name: build-webhook-validator
taskRef:
name: build-image
params:
- name: dockerfile
value: Dockerfile
- name: context-path
value: webhook
resources:
inputs:
- name: workspace
resource: source-repo
outputs:
- name: built-image
resource: image-webhook
- name: build-image-linux-cpu
taskRef:
name: build-image
params:
- name: dockerfile
value: Dockerfile.linux.cpu
- name: context-path
value: images
resources:
inputs:
- name: workspace
resource: source-repo
outputs:
- name: built-image
resource: image-linuxcpu
---