Update sync-image.yml
This commit is contained in:
parent
f540d2c8bb
commit
ced86d4398
|
@ -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: 镜像域名 (镜像仓库)
|
||||||
|
|
Loading…
Reference in New Issue