mirror of
https://github.com/ciiiii/cloudflare-docker-proxy.git
synced 2026-05-20 10:35:47 +08:00
Migrate to wrangler2
This commit is contained in:
2
.github/workflows/deploy.yaml
vendored
2
.github/workflows/deploy.yaml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
node-version: "12.x"
|
node-version: "12.x"
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- name: Publish
|
- name: Publish
|
||||||
uses: cloudflare/wrangler-action@1.2.0
|
uses: cloudflare/wrangler-action@2.0.0
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,15 +1,7 @@
|
|||||||
name = "cloudflare-docker-proxy"
|
name = "cloudflare-docker-proxy"
|
||||||
type = "webpack"
|
|
||||||
|
|
||||||
account_id = ""
|
|
||||||
workers_dev = true
|
workers_dev = true
|
||||||
route = ""
|
|
||||||
zone_id = ""
|
|
||||||
|
|
||||||
webpack_config = "webpack.config.js"
|
|
||||||
compatibility_date = "2021-12-07"
|
compatibility_date = "2021-12-07"
|
||||||
|
|
||||||
|
|
||||||
[dev]
|
[dev]
|
||||||
ip = "0.0.0.0"
|
ip = "0.0.0.0"
|
||||||
port = 8787
|
port = 8787
|
||||||
@@ -23,5 +15,5 @@ TARGET_UPSTREAM=""
|
|||||||
|
|
||||||
[env.dev.vars]
|
[env.dev.vars]
|
||||||
MODE="debug"
|
MODE="debug"
|
||||||
LOCAL_ADDRESS="http://192.168.50.160:8787"
|
LOCAL_ADDRESS="http://192.168.10.102:8787"
|
||||||
TARGET_UPSTREAM="https://registry-1.docker.io"
|
TARGET_UPSTREAM="https://registry-1.docker.io"
|
||||||
Reference in New Issue
Block a user