Skip to main content

Generate ghcr.io container's status badge

Project description

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

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

Project details


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-1.0.2.tar.gz (57.1 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-1.0.2-py3-none-any.whl (56.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ghcr_badge-1.0.2.tar.gz
  • Upload date:
  • Size: 57.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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-1.0.2.tar.gz
Algorithm Hash digest
SHA256 80519a981b8d3716c21a738437d7b91d58cce70e0d2e18e3a8cf563b8f7747ff
MD5 bfd1e36600c9741a54abded824db093a
BLAKE2b-256 e7f24cb554f59f080bc8b7c22c502d568a675eab11a3be8fc14ec2151867f3d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ghcr_badge-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 56.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84485f3b78f4aa7636bf210353fb1e371c5cf9429ac67eb07ca1aab1abdb29cc
MD5 582c4820c2aba59dfc3642ae585ba2a8
BLAKE2b-256 b1d7397258817d36b8c1d5db281ea02956d2383842e51f20d9a7c4be6a36af03

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