Merge branch 'go-gitea:main' into main

This commit is contained in:
Karthik Bhandary
2026-03-20 10:36:17 +05:30
committed by GitHub
13 changed files with 74 additions and 52 deletions
@@ -88,7 +88,10 @@ func TestPackageContainer(t *testing.T) {
Token string `json:"token"`
}
defaultAuthenticateValues := []string{`Bearer realm="` + setting.AppURL + `v2/token",service="container_registry",scope="*"`}
defaultAuthenticateValues := []string{
`Bearer realm="` + setting.AppURL + `v2/token",service="container_registry",scope="*"`,
`Basic realm="Gitea Container Registry"`,
}
t.Run("Anonymous", func(t *testing.T) {
defer tests.PrintCurrentTest(t)()