mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Add Docker /v2/_catalog endpoint (#20469)
* Added properties for packages. * Fixed authenticate header format. * Added _catalog endpoint. * Check owner visibility. * Extracted condition. * Added test for _catalog. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -257,6 +257,7 @@ func ContainerRoutes() *web.Route { | ||||
|  | ||||
| 	r.Get("", container.ReqContainerAccess, container.DetermineSupport) | ||||
| 	r.Get("/token", container.Authenticate) | ||||
| 	r.Get("/_catalog", container.ReqContainerAccess, container.GetRepositoryList) | ||||
| 	r.Group("/{username}", func() { | ||||
| 		r.Group("/{image}", func() { | ||||
| 			r.Group("/blobs/uploads", func() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user