mirror of
				https://github.com/DaoCloud/public-image-mirror.git
				synced 2025-10-31 13:49:22 +08:00 
			
		
		
		
	Update template
This commit is contained in:
		
							
								
								
									
										11
									
								
								.github/ISSUE_TEMPLATE/allows-image.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/ISSUE_TEMPLATE/allows-image.yml
									
									
									
									
										vendored
									
									
								
							| @@ -11,18 +11,11 @@ body: | ||||
|       - PR 合入后生效时间 | ||||
|         - 主动同步 Issue 马上生效 | ||||
|         - 服务器提供服务, 由于是人工的会延迟一段时间... | ||||
|       - 此为 **人工审核** (工作日, 不定时间) 请认证的填写下述问题 [查看成功案例](https://github.com/DaoCloud/public-image-mirror/issues?q=is%3Aissue+label%3A%22allows+image%22+is%3Aclosed+linked%3Apr) | ||||
|  | ||||
| - type: checkboxes | ||||
|   attributes: | ||||
|     label: 镜像是否符合下列要求 | ||||
|     options: | ||||
|     - label: 确认这个镜像符合要求 | ||||
|       required: true | ||||
|       - 此为 **人工审核** (工作日, 不定时间) 请填写下述问题 [查看成功案例](https://github.com/DaoCloud/public-image-mirror/issues?q=is%3Aissue+label%3A%22allows+image%22+is%3Aclosed+linked%3Apr) | ||||
|  | ||||
| - type: dropdown | ||||
|   attributes: | ||||
|     label: 要同步的级别 | ||||
|     label: 白名单级别 | ||||
|     options: | ||||
|       - 只需要这一个镜像 (如 docker.io/library/busybox) | ||||
|       - 需要这个组织下所有镜像 (如 docker.io/library/**) | ||||
|   | ||||
							
								
								
									
										2
									
								
								.github/workflows/target-sync-image.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/target-sync-image.yml
									
									
									
									
										vendored
									
									
								
							| @@ -64,6 +64,6 @@ jobs: | ||||
|       if: failure() | ||||
|       run: | | ||||
|         ORIGIN_IMAGE="${{ steps.get-image.outputs.image }}" | ||||
|         gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步失败[详情请查看](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})<br>请检查镜像是否存在以及在白名单, [查看成功例子](https://github.com/${{ github.repository }}/issues?q=is%3Aissue+is%3Aclosed+label%3A%22sync+image+succeeded%22)<br>如有疑问请回复 /auto-cc 召唤帮助" | ||||
|         gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步失败[详情请查看](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})<br>如有疑问请回复 /auto-cc 召唤帮助" | ||||
|         gh issue edit ${{ github.event.issue.number }} --add-label "sync image failure" -b "IMAGE SYNC" | ||||
|         gh issue close ${{ github.event.issue.number }} --reason "not planned" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user