mirror of
https://github.com/DaoCloud/public-image-mirror.git
synced 2025-08-22 10:26:07 +08:00
Bump crproxy
This commit is contained in:
4
.github/workflows/sync-image.yml
vendored
4
.github/workflows/sync-image.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
||||
|
||||
- name: Set up crproxy
|
||||
run: |
|
||||
wget https://github.com/DaoCloud/crproxy/releases/download/v0.13.0-alpha.167/crproxy_linux_amd64 -O /usr/local/bin/crproxy && chmod +x /usr/local/bin/crproxy
|
||||
wget https://github.com/DaoCloud/crproxy/releases/download/v0.13.0-alpha.171/crproxy_linux_amd64 -O /usr/local/bin/crproxy && chmod +x /usr/local/bin/crproxy
|
||||
|
||||
- name: Create message to queue
|
||||
id: get-message
|
||||
@@ -95,6 +95,6 @@ jobs:
|
||||
fi
|
||||
) &
|
||||
|
||||
/usr/local/bin/crproxy cluster runner ${{ secrets.STORAGE_ARGS }} --user '${{ secrets.OCI_USER }}' --queue-token '${{ secrets.QUEUE_TOKEN }}' --queue-url https://queue.m.daocloud.io/apis/v1 --duration 10s --retry=3 --retry-interval=2s &
|
||||
/usr/local/bin/crproxy cluster runner ${{ secrets.NEW_STORAGE_ARGS }} --user '${{ secrets.OCI_USER }}' --queue-token '${{ secrets.QUEUE_TOKEN }}' --queue-url https://queue.m.daocloud.io/apis/v1 --duration 10s --retry=3 --retry-interval=2s &
|
||||
|
||||
wait
|
||||
|
4
.github/workflows/sync-runner.yml
vendored
4
.github/workflows/sync-runner.yml
vendored
@@ -13,8 +13,8 @@ jobs:
|
||||
steps:
|
||||
- name: Set up crproxy
|
||||
run: |
|
||||
wget https://github.com/DaoCloud/crproxy/releases/download/v0.13.0-alpha.167/crproxy_linux_amd64 -O /usr/local/bin/crproxy && chmod +x /usr/local/bin/crproxy
|
||||
wget https://github.com/DaoCloud/crproxy/releases/download/v0.13.0-alpha.171/crproxy_linux_amd64 -O /usr/local/bin/crproxy && chmod +x /usr/local/bin/crproxy
|
||||
|
||||
- name: Sync Runner
|
||||
run: |
|
||||
/usr/local/bin/crproxy cluster runner ${{ secrets.STORAGE_ARGS }} --user '${{ secrets.OCI_USER }}' --queue-token '${{ secrets.QUEUE_TOKEN }}' --queue-url https://queue.m.daocloud.io/apis/v1 --duration 1h --retry=3 --retry-interval=2s
|
||||
/usr/local/bin/crproxy cluster runner ${{ secrets.NEW_STORAGE_ARGS }} --user '${{ secrets.OCI_USER }}' --queue-token '${{ secrets.QUEUE_TOKEN }}' --queue-url https://queue.m.daocloud.io/apis/v1 --duration 1h --retry=3 --retry-interval=2s
|
||||
|
Reference in New Issue
Block a user