AICoE / aicoe-ci

AICoE-CI using TektonCD pipelines and triggers
13 stars 13 forks source link

Pull images from private registries #159

Open samuelvl opened 2 years ago

samuelvl commented 2 years ago

Is your feature request related to a problem? Please describe. I have a Dockerfile with a base image from the Red Hat private repository (registry.redhat.io), however the pipeline is failing because it is not authorized to pull images from this registry:

Trying to pull registry.redhat.io/openshift4/ose-cli:v4.8...
error creating build container: initializing source docker://registry.redhat.io/openshift4/ose-cli:v4.8: unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication

Describe the solution you'd like I would like to use images from private registries as base images.

Describe alternatives you've considered Add the credentials to the registry-secret parameter.

Additional context This is the failing PR.

anishasthana commented 2 years ago

cc @harshad16

sesheta commented 2 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

sesheta commented 2 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

harshad16 commented 2 years ago

/remove-lifecycle rotten /lifecycle frozen