mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-11 13:32:36 +08:00
Update ping (#271)
This commit is contained in:
5
.github/workflows/sync.yml
vendored
5
.github/workflows/sync.yml
vendored
@@ -19,6 +19,10 @@ jobs:
|
||||
run: |
|
||||
wget https://github.com/wzshiming/bridge/releases/download/v0.8.6/bridge_linux_amd64 -O /usr/local/bin/bridge && chmod +x /usr/local/bin/bridge
|
||||
nohup /usr/local/bin/bridge -b :8080 -p - ${{ secrets.PROTOCOL }} 2>/dev/null &
|
||||
- name: Check Proxy
|
||||
run: |
|
||||
curl -v http://127.0.0.1:8080
|
||||
curl --proxy 127.0.0.1:8080 -v http://m.daocloud.io/v2/
|
||||
- name: Sync Images
|
||||
env:
|
||||
INCREMENTAL: "true"
|
||||
@@ -28,5 +32,4 @@ jobs:
|
||||
http_proxy: socks5://127.0.0.1:8080
|
||||
https_proxy: socks5://127.0.0.1:8080
|
||||
run: |
|
||||
curl -v http://m.daocloud.io/v2/
|
||||
./hack/diff.sh
|
||||
|
Reference in New Issue
Block a user