Skip to content

Support for registry middleware proxying to ECR #2922

@dmathieu

Description

@dmathieu

We are trying to setup our registry to act as a proxy to several ECR registries.
We have a registry middleware where the Repository method fetches credentials to allow pushing that specific tag.

Depending on the tag's pattern, the credentials will point to an ECR registry or another, returning a distribution.Repository struct where the baseURL is the URL to the appropriate registry and the transport contains our authentication parameters, expending on the registry proxy work.

This works well outside of a few small issues.

Above are linked 3 PRs providing solutions for those issues. I am happy to work toward making any changes you will see fit to be happy landing those PRs.

As a side one, I have also opened a PR adding tests for httpBlobUpload's Write method.

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