Skip to content

Generate ghcr.io (GitHub Container Registry) container's status badge

License

Notifications You must be signed in to change notification settings

eggplants/ghcr-badge

Repository files navigation

ghcr-badge: Generate ghcr.io container's status badge

1 2 3

PyPI version CI

Motivation

badges/shields#5594

Deployment

Deploy to Render

Available paths

Common parameters

label parameter

  • label=hello: label=hello

ignore parameter

Use 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 parameter

  • trim=patch trims ^v?\d+\.\d+\.\d+[^.]*$ tags.
  • trim=major trims ^v?\d+\.\d+[^.]*$ tags.

color parameter

Available color names and hex codes are listed on: https://github.com/jongracecox/anybadge#colors

Note

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/..."

About

Generate ghcr.io (GitHub Container Registry) container's status badge

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 7

Languages