https://github.com/badges/shields/issues/5594
~https://ghcr-badge.deta.dev/~
/<package_owner>/<package_name>/tags?color=...&ignore=...&n=...&label=...&trim=...
color=#44cc11
, ignore=latest
, n=3
, label=image tags
/<package_owner>/<package_name>/latest_tag?color=...&ignore=...&label=...&trim=...
color=#44cc11
, ignore=latest
, label=version
/<package_owner>/<package_name>/size?color=...&tag=...&label=...&trim=...
color=#44cc11
, tag=latest
, label=image size
label
parameterlabel=hello
: ignore
parameterUse the ignore parameter to filter returned tags, supports pattern matching and a comma separated list.
ignore=latest
ignores the latest
tag (default).ignore=sha256*
ignores all tags prefixed with sha256
.ignore=v0.0.1,latest,sha256*
ignores the latest
and v0.0.1
tags, and all tags prefixed with sha256*
.trim
parametertrim=patch
trims ^v?\d+\.\d+\.\d+[^.]*$
tags.trim=major
trims ^v?\d+\.\d+[^.]*$
tags.color
parameterAvailable 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/..."
poetry
poetry install && poetry shell && pre-commit install
task dev