mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 04:11:26 +08:00
* feat: /dockerhub/tags/:owner/:image fix #6916 * fix: update the doc link of /dockerhub/build * docs(en): /dockerhub/tag/:owner/:image * docs: fix typo * fix(dockerhub/tags): use parseDate() * docs: link docs to h2 instead of h3 * chore: move /dockerhub/build to v2 * docs: put warning inside <Route> * fix(dockerhub): use docker.com/hub as the radar path * fix(dockerhub/tag): add :limits? * feat(dockerhub): polish the GUID * fix(dockerhub/tag): stricter argument checks * fix(dockerhub/tag): handle NaN per Deepscan CI
20 lines
806 B
JavaScript
20 lines
806 B
JavaScript
module.exports = {
|
|
'docker.com': {
|
|
_name: 'Docker Hub',
|
|
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}`,
|
|
},
|
|
{
|
|
title: '镜像有新 Tag',
|
|
docs: 'https://docs.rsshub.app/program-update.html#docker-hub',
|
|
source: ['/r/:owner/:image', '/r/:owner/:image/tags', '/_/:image'],
|
|
target: (params) => `/dockerhub/tag/${params.owner ? params.owner : 'library'}/${params.image}`,
|
|
},
|
|
],
|
|
},
|
|
};
|