Explorar o código

add gcr url to image response

Alexander Belanger %!s(int64=5) %!d(string=hai) anos
pai
achega
8d69285e2c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      internal/registry/registry.go

+ 1 - 0
internal/registry/registry.go

@@ -136,6 +136,7 @@ func (r *Registry) listGCRRepositories(
 	for _, repo := range gcrResp.Repositories {
 		res = append(res, &Repository{
 			Name: repo,
+			URI:  r.URL + "/" + repo,
 		})
 	}