forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ci-images-run.yaml
43 lines (43 loc) · 953 Bytes
/
ci-images-run.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
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
name: tekton-pipelines
spec:
type: git
params:
- name: url
value: https://github.com/tektoncd/pipeline # REPLACE with your own fork
- name: revision
value: master # REPLACE with your own commit
---
apiVersion: tekton.dev/v1alpha1
kind: PipelineResource
metadata:
name: ko-image
spec:
type: image
params:
- name: url
value: ko-ci # Registry is provided via parameter, this is a hack see #569
---
apiVersion: tekton.dev/v1alpha1
kind: TaskRun
metadata:
name: publish-ci-images-run
spec:
serviceAccount: release-right-meow
taskRef:
name: publish-ci-images
inputs:
resources:
- name: source
resourceRef:
name: tekton-pipelines
params:
- name: imageRegistry
value: gcr.io/tekton-releases # REPLACE with your own registry
outputs:
resources:
- name: builtKoImage
resourceRef:
name: ko-image