-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpaketo-container-push.yaml
61 lines (61 loc) · 1.9 KB
/
paketo-container-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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
annotations:
build.appstudio.openshift.io/repo: https://github.com/konflux-ci/paketo-container?rev={{revision}}
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-cel-expression: event == "push" && target_branch
== "main"
labels:
appstudio.openshift.io/application: paketo-container
appstudio.openshift.io/component: paketo-container
pipelines.appstudio.openshift.io/type: build
name: paketo-container-on-push
namespace: konflux-build-pipeli-tenant
spec:
params:
- name: dockerfile
value: Containerfile
- name: git-url
value: '{{source_url}}'
- name: output-image
value: quay.io/redhat-user-workloads/konflux-build-pipeli-tenant/paketo-container:{{revision}}
- name: path-context
value: .
- name: revision
value: '{{revision}}'
- name: prefetch-input
value: |
[{"type": "gomod", "path": "toml"},
{"type": "gomod", "path": "jam"},
{"type": "gomod", "path": "create-package"},
{"type": "gomod", "path": "pack"},
{"type": "gomod", "path": "dockerfile-json"},
{"type": "rpm", "path": "."},
{"type": "pip", "path": "."}]
- name: hermetic
value: "true"
- name: dev-package-managers
value: "true"
- name: enableSymlinkCheck
value: "false"
- name: cachi2-log-level
value: "debug"
- name: build-image-index
value: "false"
pipelineRef:
name: build-pipeline
workspaces:
- name: workspace
volumeClaimTemplate:
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
- name: git-auth
secret:
secretName: '{{ git_auth_secret }}'