Generate ghcr.io container's status badge
Project description
ghcr-badge: Generate ghcr.io container's status badge
Motivation
https://github.com/badges/shields/issues/5594
Deployment
Available paths
/<string:package_owner>/<string:package_name>/tags?color=...&ignore=...&n=...&label=...&trim=...- defaults:
color=#e05d44,ignore=latest,n=3,label=image tags - https://ghcr-badge.herokuapp.com/eggplants/ghcr-badge/tags?trim=major
- 👉:
- defaults:
/<string:package_owner>/<string:package_name>/latest_tag?color=...&ignore=...&label=...&trim=...- defaults:
color=#e05d44,ignore=latest,label=version - https://ghcr-badge.herokuapp.com/eggplants/ghcr-badge/latest_tag?trim=major
- 👉:
- defaults:
/<string:package_owner>/<string:package_name>/develop_tag?color=...&label=...- defaults:
color=#e05d44,label=develop - https://ghcr-badge.herokuapp.com/ptr727/plexcleaner/develop_tag
- 👉:
- defaults:
/<string:package_owner>/<string:package_name>/size?color=...&tag=...&label=...&trim=...- defaults:
color=#e05d44,tag=latest,label=image size - https://ghcr-badge.herokuapp.com/eggplants/ghcr-badge/size
- 👉:
- defaults:
Common parameters
label parameter
label=🤔:
ignore parameter
Use the ignore parameter to filter returned tags, supports pattern matching and a comma separated list.
ignore=latestignores thelatesttag (default).ignore=sha256*ignores all tags prefixed withsha256.ignore=v0.0.1,latest,sha256*ignores thelatestandv0.0.1tags, and all tags prefixed withsha256*.
trim parameter
trim=patchtrims^v?\d+\.\d+\.\d+[^.]*$tags.trim=majortrims^v?\d+\.\d+[^.]*$tags.
color parameter
Available color names and hex codes are listed on here.
Note
GitHub caches badge data in 604800 seconds(=7 days). To update, try: curl -X PURGE "https://camo.githubusercontent.com/..." (it's badge image link)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ghcr_badge-0.1.0.tar.gz.
File metadata
- Download URL: ghcr_badge-0.1.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df6f130e7058e426949d0bc0433aaf4962dbfb5c0d074648e116299d834129e2
|
|
| MD5 |
d13b21358dd5cd373da94e62ac10f6e4
|
|
| BLAKE2b-256 |
7c99808d5c32642e5a0fcd558812d960887461462fb371a5d0ca36d3d26dbcc8
|
File details
Details for the file ghcr_badge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ghcr_badge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46278a5a6520155dca1be5c9b349b8fd546458e6379b87629276edb7d3477412
|
|
| MD5 |
9d5aaffc4e4847ec82a59293f99cdd91
|
|
| BLAKE2b-256 |
4ce7f611002a8d050af58fb59ff5156240721392c555b7561bd2d2389226f2c2
|