Skip to main content

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

1 2 3

PyPI version CI

Motivation

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

Deployment

Deploy to Render

Available paths

<package_name> may itself contain / to reference a repository-scoped image, e.g. ghcr.io/henrygd/beszel/beszel:

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ghcr_badge-2.0.0.tar.gz (59.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ghcr_badge-2.0.0-py3-none-any.whl (58.8 kB view details)

Uploaded Python 3

File details

Details for the file ghcr_badge-2.0.0.tar.gz.

File metadata

  • Download URL: ghcr_badge-2.0.0.tar.gz
  • Upload date:
  • Size: 59.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ghcr_badge-2.0.0.tar.gz
Algorithm Hash digest
SHA256 9b09d01ba67b8ef4695228818e8862e2f6a37fa6a947edd45dbf82b5ee491c5a
MD5 6e60ec9ae955d800c5a3a7f7d0f0f184
BLAKE2b-256 4ed878988a04dc3b7bc53d998b202ed213e4bb2d0774ca399788e91bf3842600

See more details on using hashes here.

File details

Details for the file ghcr_badge-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: ghcr_badge-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 58.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ghcr_badge-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc26d13613c4057735123a633d8cf446a5fb21ad3c36f2dcfd7a1e722c89fba9
MD5 e988733c6caa6eafec8e58c09f313c3d
BLAKE2b-256 faa3d3877266596514d38d8aa6b8e3a5cb637894acb0cbd70219bc04dd772cc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page