Skip to main content

Generate ghcr.io container's status badge

Project description

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

1 2 4

PyPI version pre-commit.ci status Maintainability Release Package

Motivation

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

Deployment

Available paths

Common parameters

label parameter

  • label=🤔: label=🤔

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 here.

Note

GitHub caches badge data in 604800 seconds(=7 days). To update, try: curl -X PURGE "https://camo.githubusercontent.com/..." (it's badge image link)

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-0.1.0.tar.gz (8.0 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-0.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ghcr_badge-0.1.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for ghcr_badge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 df6f130e7058e426949d0bc0433aaf4962dbfb5c0d074648e116299d834129e2
MD5 d13b21358dd5cd373da94e62ac10f6e4
BLAKE2b-256 7c99808d5c32642e5a0fcd558812d960887461462fb371a5d0ca36d3d26dbcc8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ghcr_badge-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for ghcr_badge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46278a5a6520155dca1be5c9b349b8fd546458e6379b87629276edb7d3477412
MD5 9d5aaffc4e4847ec82a59293f99cdd91
BLAKE2b-256 4ce7f611002a8d050af58fb59ff5156240721392c555b7561bd2d2389226f2c2

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