Update mirror (#733)

This commit is contained in:
Shiming Zhang
2023-11-10 15:37:34 +08:00
committed by GitHub
parent 9c1dd5c15b
commit bd2f1550a7
3 changed files with 26 additions and 43 deletions

View File

@@ -40,18 +40,7 @@ jobs:
gh pr comment "${{ github.event.pull_request.number }}" --body '请运行 `./hack/fmt.sh mirror.txt` 对内容进行排序'
exit 1
}
- name: Verify docker Prefix
run: |
./hack/verify-docker-prefix.sh mirror.txt || {
gh pr comment "${{ github.event.pull_request.number }}" --body '请成对提交 `docker.io/*` 和 `docker.io/library/*` 形式的镜像'
exit 1
}
- name: Verify k8s Prefix
run: |
./hack/verify-k8s-prefix.sh mirror.txt || {
gh pr comment "${{ github.event.pull_request.number }}" --body '请使用 `registry.k8s.io/*` 替代 `k8s.gcr.io/*`'
exit 1
}
- name: Verify Image Exists
run: |
./hack/verify-image.sh mirror.txt https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}.patch || {