How to Override this image - registry.redhat.io/ubi8/ubi-minimal in pipelinerun/taskrun pod #6743
Replies: 2 comments 4 replies
-
The image used is defined in your Task, either in You can update that value to point to a different registry as needed. For example: See https://tekton.dev/docs/pipelines/tasks/#defining-steps
|
Beta Was this translation helpful? Give feedback.
-
@AlanGreene Adding the pod yaml that gets generated as a part of taskrun for above mentioned echo-hello task. I have modified the echo-hello task for the needed ubi-minimal image in our private registry. Updated task.yaml TAskRun POD YML ->
|
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I am trying to use tekton in our project as POC.
We have our own secure image registry we are not allwoed to use registr.redhad.io.
For my sample pipeline, code fails with obvious error as we are not allowed to use public reistries - Failed to pull image "registry.redhat.io/ubi8/ubi-minimal@sha256:6910799b75ad41f00891978575a0d955be2f800c51b955af73926e7ab59a41c3": rpc error: code = Unknown desc = pinging container registry registry.redhat.io: Get "https://registry.redhat.io/v2/":
We have ubi-minimal image in our private registry, is ther ea way to override this image with registry value somewhere in tekton custom resources?
Much appreciate input on this!
Beta Was this translation helpful? Give feedback.
All reactions