Use the badge from the project itself. Rely on the API to build the document

This commit is contained in:
Florian Anceau
2024-06-09 10:38:03 +00:00
parent eaa8a1edeb
commit 0743bd7c21
4 changed files with 93 additions and 61 deletions
+3 -18
View File
@@ -1,18 +1,3 @@
[![][badge-pipeline]][url-pipelines]
[![][badge-image-size]][url-docker]
[![][badge-pulls]][url-docker]
[![][badge-release]][url-sources]
[![][badge-license]][url-sources]
[![][badge-sponsoring]][url-sponsoring]
[url-pipelines]: https://gitlab.com/florian.anceau/docker-seafile-client/badges/master/pipeline.svg
[url-docker]: https://hub.docker.com/r/flowgunso/seafile-client
[url-sources]: https://gitlab.com/florian.anceau/docker-seafile-client/
[url-sponsoring]: https://liberapay.com/docker-seafile-client/donate
[badge-pipeline]: https://img.shields.io/gitlab/pipeline-status/florian.anceau%2Fdocker-seafile-client
[badge-image-size]: https://img.shields.io/docker/image-size/flowgunso/seafile-client/latest?logo=docker&label=Image%20size&color=%230778b8
[badge-pulls]: https://img.shields.io/docker/pulls/flowgunso/seafile-client?logo=docker&label=Pulls&color=%230778b8
[badge-license]: https://img.shields.io/gitlab/license/11322291?label=License&color=fca326
[badge-release]: https://img.shields.io/gitlab/v/release/11322291?logo=gitlab&label=Source%20code&color=fca326
[badge-sponsoring]: https://img.shields.io/liberapay/receives/docker-seafile-client.svg?logo=liberapay
{% for name, links in badges.items() -%}
[![{{name}}]({{links.image}})]({{links.link}})
{% endfor %}