Gitea as Package Registry Reverse Proxy #23619
Labels
issue/duplicate
The issue has already been reported.
topic/packages
type/feature
Completely new functionality. Can only be merged if feature freeze is not active.
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Feature Description
As a team with plenty of fetches from external servers like dockerhub, composer or pip, especially now with the CI/CD pipelines, I would suggest adding an optional proxy for these package registries.
The huge advantage of this would be, that the build + delivery speed inside a company would improve, but also less international internet traffic would occur, if certain servers are e.x. only in one country given.
A busy CI/CD pipeline could also try to prevent an external registry call and map it to itself to fetch the cached resource. But this should be a check and not checked by default imo 🤔
I could imagine that a server administrator could either whitelist a couple of packages to do this, but also by giving it a limited amount of disk space, and he caches everything himself from registry xyz.
The urls could look like this:
What do you think? Could that be a feature for 1.20 or 1.21? 🤔
Screenshots
No response
The text was updated successfully, but these errors were encountered: