diff --git a/.github/workflows/target-image-sync.yml b/.github/workflows/target-image-sync.yml index 8b3e1fb..5be2697 100644 --- a/.github/workflows/target-image-sync.yml +++ b/.github/workflows/target-image-sync.yml @@ -61,7 +61,7 @@ jobs: ORIGIN_IMAGE=$(echo "${MESSAGE}" | grep SYNC | awk '{print $2}' | head -n 1 | sed "s/\r//g") curl --fail -X PUT "http://127.0.0.1:8000/internal/api/image/sync?image=${ORIGIN_IMAGE}" if ! ./hack/verify-allows.sh ./allows.txt "${ORIGIN_IMAGE}"; then - gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步完成
请使用 m.daocloud.io/${ORIGIN_IMAGE} 替代源镜像
这个镜像不在白名单列表里, 在未来可能将无法访问
将其添加到[白名单](https://github.com/DaoCloud/public-image-mirror/blob/main/allows.txt)" + gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步完成
请使用 m.daocloud.io/${ORIGIN_IMAGE} 替代源镜像
这个镜像不在白名单列表里, 明天将无法访问
将其添加到[白名单](https://github.com/DaoCloud/public-image-mirror/blob/main/allows.txt)" else gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步完成
请使用 m.daocloud.io/${ORIGIN_IMAGE} 替代源镜像" fi diff --git a/.github/workflows/target-sync-image.yml b/.github/workflows/target-sync-image.yml index c875245..4157f61 100644 --- a/.github/workflows/target-sync-image.yml +++ b/.github/workflows/target-sync-image.yml @@ -56,7 +56,7 @@ jobs: ORIGIN_IMAGE="${{ steps.get-image.outputs.image }}" curl --fail -X PUT "http://127.0.0.1:8000/internal/api/image/sync?image=${ORIGIN_IMAGE}" if ! ./hack/verify-allows.sh ./allows.txt "${ORIGIN_IMAGE}"; then - gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步完成
请使用 m.daocloud.io/${ORIGIN_IMAGE} 替代源镜像
这个镜像不在白名单列表里, 在未来可能将无法访问
将其添加到[白名单](https://github.com/DaoCloud/public-image-mirror/blob/main/allows.txt)" + gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步完成
请使用 m.daocloud.io/${ORIGIN_IMAGE} 替代源镜像
这个镜像不在白名单列表里, 马上可能将无法访问
将其添加到[白名单](https://github.com/DaoCloud/public-image-mirror/blob/main/allows.txt)" else gh issue comment ${{ github.event.issue.number }} -b "镜像 ${ORIGIN_IMAGE} 同步完成
请使用 m.daocloud.io/${ORIGIN_IMAGE} 替代源镜像" fi