From 733de45fad157a3f70b9420f98bfb60765665adb Mon Sep 17 00:00:00 2001 From: hoseops <129283013+hoseops@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:14:40 +0800 Subject: [PATCH 1/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 904b0ca60..a69493de4 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ > If you're looking for proxy for helm, maybe you can try [cloudflare-helm-proxy](https://github.com/ciiiii/cloudflare-helm-proxy). ## Deploy -[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/ciiiii/cloudflare-docker-proxy) +[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/hoseops/cloudflare-docker-proxy) 1. fork this project 2. modify the link of the above button to your fork url From d54a540166fc05924bbf0cfce78fbe70ef8a43de Mon Sep 17 00:00:00 2001 From: hoseops <129283013+hoseops@users.noreply.github.com> Date: Tue, 11 Jun 2024 14:22:12 +0800 Subject: [PATCH 2/8] Update index.js --- src/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/index.js b/src/index.js index 6310f7c5f..7f5b5f68a 100644 --- a/src/index.js +++ b/src/index.js @@ -4,13 +4,13 @@ addEventListener("fetch", (event) => { }); const routes = { - "docker.libcuda.so": "https://registry-1.docker.io", - "quay.libcuda.so": "https://quay.io", - "gcr.libcuda.so": "https://gcr.io", - "k8s-gcr.libcuda.so": "https://k8s.gcr.io", - "k8s.libcuda.so": "https://registry.k8s.io", - "ghcr.libcuda.so": "https://ghcr.io", - "cloudsmith.libcuda.so": "https://docker.cloudsmith.io", + "docker.hose.cloudns.ch": "https://registry-1.docker.io", + "quay.hose.cloudns.ch": "https://quay.io", + "gcr.hose.cloudns.ch": "https://gcr.io", + "k8s-gcr.hose.cloudns.ch": "https://k8s.gcr.io", + "k8s.hose.cloudns.ch": "https://registry.k8s.io", + "ghcr.hose.cloudns.ch": "https://ghcr.io", + "cloudsmith.hose.cloudns.ch": "https://docker.cloudsmith.io", }; function routeByHosts(host) { From 6f500d9e7c3b1a2be947832b522f1ab49cffb683 Mon Sep 17 00:00:00 2001 From: hoseops <129283013+hoseops@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:00:41 +0800 Subject: [PATCH 3/8] Update index.js --- src/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/index.js b/src/index.js index 7f5b5f68a..20a6eb4b4 100644 --- a/src/index.js +++ b/src/index.js @@ -4,13 +4,13 @@ addEventListener("fetch", (event) => { }); const routes = { - "docker.hose.cloudns.ch": "https://registry-1.docker.io", - "quay.hose.cloudns.ch": "https://quay.io", - "gcr.hose.cloudns.ch": "https://gcr.io", - "k8s-gcr.hose.cloudns.ch": "https://k8s.gcr.io", - "k8s.hose.cloudns.ch": "https://registry.k8s.io", - "ghcr.hose.cloudns.ch": "https://ghcr.io", - "cloudsmith.hose.cloudns.ch": "https://docker.cloudsmith.io", + "docker.hose.cloud": "https://registry-1.docker.io", + "quay.hose.cloud": "https://quay.io", + "gcr.hose.cloud": "https://gcr.io", + "k8s-gcr.hose.cloud": "https://k8s.gcr.io", + "k8s.hose.cloud": "https://registry.k8s.io", + "ghcr.hose.cloud": "https://ghcr.io", + "cloudsmith.hose.cloud": "https://docker.cloudsmith.io", }; function routeByHosts(host) { From 2c8138f836bdcfbb53777f30e2e324de7c402c06 Mon Sep 17 00:00:00 2001 From: hoseops <129283013+hoseops@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:13:51 +0800 Subject: [PATCH 4/8] Update index.js --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 20a6eb4b4..c0bcadc14 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,7 @@ addEventListener("fetch", (event) => { }); const routes = { + "${workername}.${username}.workers.dev/": "https://registry-1.docker.io", "docker.hose.cloud": "https://registry-1.docker.io", "quay.hose.cloud": "https://quay.io", "gcr.hose.cloud": "https://gcr.io", From 7df8c4fe25db25e6e368ba118b69515ae6fd948b Mon Sep 17 00:00:00 2001 From: hoseops <129283013+hoseops@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:22:37 +0800 Subject: [PATCH 5/8] Update index.js --- src/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.js b/src/index.js index c0bcadc14..20a6eb4b4 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,6 @@ addEventListener("fetch", (event) => { }); const routes = { - "${workername}.${username}.workers.dev/": "https://registry-1.docker.io", "docker.hose.cloud": "https://registry-1.docker.io", "quay.hose.cloud": "https://quay.io", "gcr.hose.cloud": "https://gcr.io", From c9a88b9dfded3fdaeaa3059e4b27f0d07b6951a9 Mon Sep 17 00:00:00 2001 From: hoseops <129283013+hoseops@users.noreply.github.com> Date: Tue, 11 Jun 2024 15:43:38 +0800 Subject: [PATCH 6/8] Update index.js --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 20a6eb4b4..e38b34eff 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,7 @@ addEventListener("fetch", (event) => { }); const routes = { + "cloudflare-docker-proxy.hoseops.workers.dev": "https://registry-1.docker.io", "docker.hose.cloud": "https://registry-1.docker.io", "quay.hose.cloud": "https://quay.io", "gcr.hose.cloud": "https://gcr.io", From 46b57bb506cf092acfadf836090c068fdf734d7f Mon Sep 17 00:00:00 2001 From: gary Date: Tue, 11 Jun 2024 15:52:29 +0800 Subject: [PATCH 7/8] Update index.js --- src/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.js b/src/index.js index e38b34eff..20a6eb4b4 100644 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,6 @@ addEventListener("fetch", (event) => { }); const routes = { - "cloudflare-docker-proxy.hoseops.workers.dev": "https://registry-1.docker.io", "docker.hose.cloud": "https://registry-1.docker.io", "quay.hose.cloud": "https://quay.io", "gcr.hose.cloud": "https://gcr.io", From 00e81a3827e682500e6aabd7fad5621e3d1e24e0 Mon Sep 17 00:00:00 2001 From: luozhijunroy18 <42432108+luozhijunroy18@users.noreply.github.com> Date: Mon, 9 Sep 2024 19:33:34 +0800 Subject: [PATCH 8/8] Update README.md --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 5b77b7960..a06a4df6b 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ # cloudflare-docker-proxy -![deploy](https://github.com/ciiiii/cloudflare-docker-proxy/actions/workflows/deploy.yaml/badge.svg) - -[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/ciiiii/cloudflare-docker-proxy) - > If you're looking for proxy for helm, maybe you can try [cloudflare-helm-proxy](https://github.com/ciiiii/cloudflare-helm-proxy). ## Deploy @@ -13,8 +9,6 @@ 2. follow the instructions to fork and deploy 3. update routes as you requirement -[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/ciiiii/cloudflare-docker-proxy) - ## Routes configuration tutorial 1. use cloudflare worker host: only support proxy one registry