Update sync-image.yml

This commit is contained in:
Shiming Zhang 2024-12-26 14:11:17 +08:00 committed by GitHub
parent f540d2c8bb
commit ced86d4398
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 0 deletions

View File

@ -9,6 +9,22 @@ body:
# ↑↑↑↑↑↑↑↑↑↑↑ 填入你要同步的 Image # ↑↑↑↑↑↑↑↑↑↑↑ 填入你要同步的 Image
## 请包含 域名/路径:标签 ## 请包含 域名/路径:标签
- type: markdown
attributes:
value: |
## 调用接口触发
``` bash
curl -X POST \
-H "Authorization: Bearer ${TOKEN}" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/repos/DaoCloud/public-image-mirror/issues \
-d "{
\"title\": \"${IMAGE}\",
\"labels\": [\"sync image\"],
\"template\": \"sync-image\"
}"
```
- type: checkboxes - type: checkboxes
attributes: attributes:
label: 镜像域名 (镜像仓库) label: 镜像域名 (镜像仓库)