eggplants / ghcr-badge

Generate ghcr.io (GitHub Container Registory) container's status badge
https://ghcr-badge.egpl.dev
MIT License
38 stars 10 forks source link
badge badge-maker ghcr github metadata status svg

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

1 2 3

PyPI version pre-commit.ci status Maintainability Release Package

Motivation

https://github.com/badges/shields/issues/5594

Deployment

Deploy to Render

Available paths

Common parameters

label parameter

ignore parameter

Use the ignore parameter to filter returned tags, supports pattern matching and a comma separated list.

trim parameter

color parameter

Available color names and hex codes are listed on here.

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

Development

  1. Install poetry
  2. Run poetry install && poetry shell && pre-commit install
  3. Launch live server with task dev