Skip to content

Commit b2d2940

Browse files
committed
Changed back to upper case params
1 parent f5c8300 commit b2d2940

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.tekton/pipeline.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ spec:
88
workspaces:
99
- name: pipeline-workspace
1010
params:
11-
- name: git-repo
11+
- name: GIT_REPO
1212
description: The URL to the git repo
1313
type: string
14-
- name: git-ref
14+
- name: GIT_REF
1515
description: The reference (branch or ref)
1616
type: string
1717
default: master
18-
- name: app-name
18+
- name: APP_NAME
1919
description: Name of the application
2020
type: string
2121
default: petshop
22-
- name: image-name
22+
- name: IMAGE_NAME
2323
description: The name of the image to build
2424
type: string
25-
default: 'image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/$(params.app-name):latest'
25+
default: 'image-registry.openshift-image-registry.svc:5000/$(context.pipelineRun.namespace)/$(params.APP_NAME):latest'
2626
tasks:
2727
- name: git-clone
2828
params:
2929
- name: url
30-
value: $(params.git-repo)
30+
value: $(params.GIT_REPO)
3131
- name: revision
32-
value: $(params.git-ref)
32+
value: $(params.GIT_REF)
3333
- name: refspec
3434
value: ''
3535
- name: submodules
@@ -105,7 +105,7 @@ spec:
105105
- name: buildah
106106
params:
107107
- name: IMAGE
108-
value: $(params.image-name)
108+
value: $(params.IMAGE_NAME)
109109
- name: BUILDER_IMAGE
110110
value: 'registry.redhat.io/rhel8/buildah@sha256:b48f410efa0ff8ab0db6ead420a5d8d866d64af846fece5efb185230d7ecf591'
111111
- name: STORAGE_DRIVER
@@ -135,8 +135,8 @@ spec:
135135
workspace: pipeline-workspace
136136
- name: deploy-image
137137
params:
138-
- name: image-name
139-
value: $(params.image-name)
138+
- name: IMAGE_NAME
139+
value: $(params.IMAGE_NAME)
140140
- name: manifest-dir
141141
value: k8s
142142
runAfter:

0 commit comments

Comments
 (0)