Skip to content

Feature Request: Support Path to Registry Auth file #417

Description

@adambkaplan

The CNB Platform spec appears to be ambiguous with respect to where a registry auth credentials file should be placed:

If CNB_REGISTRY_AUTH is unset and a docker config.json file is present, the lifecycle SHOULD use the contents of this file to authenticate with any matching registry. The lifecycle SHOULD adhere to established docker conventions when checking for the existence of or interpreting the contents of a config.json file.

For those implementing the CNB Platform spec in Cloud Native CI/CD systems (Tekton, Argo Workflows), using a fixed absolute path for registry authentication simplifies pipeline maintenance. Adding a new environment variable to the spec (CNB_REGISTRY_AUTH_FILE) or providing CLI flag options to said auth file will help platform implementations point CNB to the right location on these systems.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions