Skip to content

Commit

Permalink
Add params to get-base-image
Browse files Browse the repository at this point in the history
We can't directly use the Pipeline parameters
See tektoncd/pipeline#1879
  • Loading branch information
VannTen committed Nov 21, 2022
1 parent 0fb9045 commit 12386f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hack/cnbi-package-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,19 @@ spec:
- $(params.packages)
####### TODO: the rest of the tasks sould be shared between all types of sources
- name: get-base-image
params:
- name: baseImage
value: $(params.baseImage)
taskSpec:
params:
- name: baseImage
type: string
results:
- name: baseImage
steps:
- script: | # PLACEHOLDER
image=quay.io/thoth-station/s2i-custom-notebook
if [ -n "$(params.baseImage" ]
if [ -n "$(params.baseImage)" ]
then
image="$(params.baseImage)"
fi
Expand Down

0 comments on commit 12386f0

Please sign in to comment.