mirror of
https://github.com/ciiiii/cloudflare-docker-proxy.git
synced 2026-04-08 13:50:43 +08:00
Compare commits
3 Commits
yscai/regi
...
yscai/ci-f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
803d1b49d2 | ||
|
|
da1c68867e | ||
|
|
fbc76c1ae6 |
4
.github/workflows/stage.yaml
vendored
4
.github/workflows/stage.yaml
vendored
@@ -1,9 +1,7 @@
|
||||
name: Deploy to Cloudflare Workers(Staging)
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
pull_request_target:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
repository_dispatch:
|
||||
|
||||
@@ -68,7 +68,6 @@ async function handleRequest(request) {
|
||||
`Bearer realm="https://${url.hostname}/v2/auth",service="cloudflare-docker-proxy"`
|
||||
);
|
||||
}
|
||||
headers.set("Docker-Distribution-API-Version", "registry/2.0");
|
||||
return new Response(JSON.stringify({ message: "UNAUTHORIZED" }), {
|
||||
status: 401,
|
||||
headers: headers,
|
||||
|
||||
Reference in New Issue
Block a user