mirror of
https://github.com/ciiiii/cloudflare-docker-proxy.git
synced 2025-12-06 14:42:51 +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"
|
||||
- run: npm install
|
||||
- name: Publish
|
||||
uses: cloudflare/wrangler-action@1.2.0
|
||||
uses: cloudflare/wrangler-action@2.0.0
|
||||
with:
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
env:
|
||||
|
||||
@@ -1,15 +1,7 @@
|
||||
name = "cloudflare-docker-proxy"
|
||||
type = "webpack"
|
||||
|
||||
account_id = ""
|
||||
workers_dev = true
|
||||
route = ""
|
||||
zone_id = ""
|
||||
|
||||
webpack_config = "webpack.config.js"
|
||||
compatibility_date = "2021-12-07"
|
||||
|
||||
|
||||
[dev]
|
||||
ip = "0.0.0.0"
|
||||
port = 8787
|
||||
@@ -23,5 +15,5 @@ TARGET_UPSTREAM=""
|
||||
|
||||
[env.dev.vars]
|
||||
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"
|
||||
Reference in New Issue
Block a user