forked from containerbuildsystem/cachi2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
push.yaml
41 lines (41 loc) · 1.13 KB
/
push.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
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: cachi2-on-push
annotations:
build.appstudio.redhat.com/commit_sha: "{{revision}}"
build.appstudio.redhat.com/target_branch: "{{target_branch}}"
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-event: "[push]"
pipelinesascode.tekton.dev/on-target-branch: "[main]"
spec:
params:
- name: git-url
value: "{{repo_url}}"
- name: revision
value: "{{revision}}"
- name: output-image
value: "quay.io/redhat-appstudio/cachi2:{{revision}}"
- name: dockerfile
value: Containerfile
- name: slack-webhook-notification-team
value: build
pipelineRef:
params:
- name: bundle
value: >-
quay.io/redhat-appstudio-tekton-catalog/pipeline-core-services-docker-build:latest
- name: name
value: docker-build
- name: kind
value: Pipeline
resolver: bundles
workspaces:
- name: workspace
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi