Update the block message of the allow image
This commit is contained in:
parent
6651e5e253
commit
26dfbd433c
|
@ -30,7 +30,7 @@ jobs:
|
|||
|
||||
- name: Update list (new)
|
||||
run: |
|
||||
LIST="$(cat ./allows.txt | jq -R -s -c '{"items": split("\n")[:-1]}')"
|
||||
LIST="$(cat ./allows.txt | jq -R -s -c '{"items": split("\n")[:-1], "block_message": "🚫 👀-> https://github.com/DaoCloud/public-image-mirror/issues/2328 🔗 这镜像不在白名单. this image is not in the allowlist."}')"
|
||||
TOKEN="$(curl -X 'POST' \
|
||||
'https://auth.m.daocloud.io/apis/v1/users/login' \
|
||||
-H 'Accept: application/json' \
|
||||
|
|
Loading…
Reference in New Issue