-
- Deta Space will be closed at 2024-10-17
/<package_owner>/<package_name>/tags?color=...&ignore=...&n=...&label=...&trim=...
- defaults:
color=#44cc11
,ignore=latest
,n=3
,label=image tags
- https://ghcr-badge.egpl.dev/eggplants/ghcr-badge/tags?trim=major
- 👉:
- defaults:
/<package_owner>/<package_name>/latest_tag?color=...&ignore=...&label=...&trim=...
- defaults:
color=#44cc11
,ignore=latest
,label=version
- https://ghcr-badge.egpl.dev/eggplants/ghcr-badge/latest_tag?trim=major&label=latest
- 👉:
- defaults:
/<package_owner>/<package_name>/size?color=...&tag=...&label=...&trim=...
- defaults:
color=#44cc11
,tag=latest
,label=image size
- https://ghcr-badge.egpl.dev/eggplants/ghcr-badge/size
- 👉:
- defaults:
Use the ignore parameter to filter returned tags, supports pattern matching and a comma separated list.
ignore=latest
ignores thelatest
tag (default).ignore=sha256*
ignores all tags prefixed withsha256
.ignore=v0.0.1,latest,sha256*
ignores thelatest
andv0.0.1
tags, and all tags prefixed withsha256*
.
trim=patch
trims^v?\d+\.\d+\.\d+[^.]*$
tags.trim=major
trims^v?\d+\.\d+[^.]*$
tags.
Available color names and hex codes are listed on here.
Generated badge will be cached for 3666 seconds in GitHub's Camo server. To update immediately, send PURGE request to the badge Camo link.
curl -X PURGE "https://camo.githubusercontent.com/..."
- Install
poetry
- Run
poetry install && poetry shell && pre-commit install
- Launch live server with
task dev