diff --git a/assets/radar-rules.js b/assets/radar-rules.js index 29235c10e..bc75b75ce 100644 --- a/assets/radar-rules.js +++ b/assets/radar-rules.js @@ -557,4 +557,15 @@ }, ], }, + 'docker.com': { + _name: 'Docker', + hub: [ + { + title: '镜像有新 Build', + docs: 'https://docs.rsshub.app/program-update.html#docker-hub', + source: ['/r/:owner/:image', '/r/:owner/:image/tags', '/_/:image'], + target: (params) => `/dockerhub/build/${params.owner ? params.owner : 'library'}/${params.image}`, + }, + ], + }, }); diff --git a/docs/program-update.md b/docs/program-update.md index 133d91b6a..45c6a91cc 100644 --- a/docs/program-update.md +++ b/docs/program-update.md @@ -54,7 +54,13 @@ pageClass: routes ### 镜像有新 Build - + + +::: warning 注意 + +官方镜像的 owner 填写 library, 如: https://rsshub.app/dockerhub/build/library/mysql + +::: ## F-Droid