A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go
80
fork

Configure Feed

Select the types of activity you want to include in your feed.

better unauth message

+7 -9
+1 -3
.tangled/workflows/release.yml
··· 2 2 # Triggers on version tags and builds cross-platform binaries using GoReleaser 3 3 4 4 when: 5 - - event: ["push"] 5 + - event: ["manual"] 6 6 # TODO: Trigger only on version tags (v1.0.0, v2.1.3, etc.) 7 7 branch: ["main"] 8 8 ··· 29 29 30 30 - name: Run GoReleaser 31 31 command: goreleaser release --clean 32 - environment: 33 - REPO_URL
+6 -6
pkg/auth/token/handler.go
··· 69 69 baseURL = "http://" + baseURL 70 70 } 71 71 } 72 - w.Header().Set("WWW-Authenticate", fmt.Sprintf(`Basic realm="ATCR Registry - Visit %s/install to authenticate or use 'docker login' with your ATProto app-password"`, baseURL)) 73 - http.Error(w, "authentication required", http.StatusUnauthorized) 72 + w.Header().Set("WWW-Authenticate", `Basic realm="ATCR Registry"`) 73 + http.Error(w, fmt.Sprintf("authentication required - visit %s/install to authenticate or use 'docker login' with your ATProto app-password", baseURL), http.StatusUnauthorized) 74 74 return 75 75 } 76 76 ··· 114 114 baseURL = "http://" + baseURL 115 115 } 116 116 } 117 - w.Header().Set("WWW-Authenticate", fmt.Sprintf(`Basic realm="ATCR Registry - Visit %s/install to authenticate or use 'docker login' with your ATProto app-password"`, baseURL)) 118 - http.Error(w, "authentication failed", http.StatusUnauthorized) 117 + w.Header().Set("WWW-Authenticate", `Basic realm="ATCR Registry"`) 118 + http.Error(w, fmt.Sprintf("authentication failed - visit %s/install to authenticate or use 'docker login' with your ATProto app-password", baseURL), http.StatusUnauthorized) 119 119 return 120 120 } 121 121 ··· 142 142 baseURL = "http://" + baseURL 143 143 } 144 144 } 145 - w.Header().Set("WWW-Authenticate", fmt.Sprintf(`Basic realm="ATCR Registry - Visit %s/install to authenticate or use 'docker login' with your ATProto app-password"`, baseURL)) 146 - http.Error(w, fmt.Sprintf("authentication failed: %v", err), http.StatusUnauthorized) 145 + w.Header().Set("WWW-Authenticate", `Basic realm="ATCR Registry"`) 146 + http.Error(w, fmt.Sprintf("authentication failed - visit %s/install to authenticate or use 'docker login' with your ATProto app-password", baseURL), http.StatusUnauthorized) 147 147 return 148 148 } 149 149