Skip to content

Added support for private registry authentication

Julian Paul Dasmarinas requested to merge private-registry-auth into master

What does this MR do?

Adds support for private registries that require authentication.

Previously, private container image registries had to be available without authentication.

To use this, the user can set:

  • CODECLIMATE_REGISTRY_USERNAME
  • CODECLIMATE_REGISTRY_PASSWORD
  • CODECLIMATE_REGISTRY

Already tested in this project: https://gitlab.com/jdasmarinas/private-registry-codeclimate

On this example, I used GitLab Dependency Proxy as the "private" registry. After running the job, I verified that it was able to authenticate and pull from GitLab Dependency Proxy:

Screen_Shot_2022-08-18_at_7.01.21_PM

What are the relevant issue numbers?

Edited by rossfuhrman

Merge request reports