Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use docker metadata to generate tags and labels #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

halkeye
Copy link

@halkeye halkeye commented Nov 17, 2024

As the current docker image has no labels associated with it, especially not the opencontainer standard ones, tools like dependabot and renovate can't pull releasenotes or even link to commits.

regctl image config --format '{{ jsonPretty .Config.Labels }}' ghcr.io/axsuul/plex-media-server-exporter
null

vs

regctl image config --format '{{ jsonPretty .Config.Labels }}' ghcr.io/halkeye/plex-media-server-exporter:0.0.1
{
  "org.opencontainers.image.created": "2024-11-17T07:05:05.939Z",
  "org.opencontainers.image.description": "A better Prometheus exporter for Plex Media Server",
  "org.opencontainers.image.licenses": "MIT",
  "org.opencontainers.image.revision": "3ac5a255c6f8935bfd13eb31e883533dbbc02002",
  "org.opencontainers.image.source": "https://github.com/halkeye/plex-media-server-exporter",
  "org.opencontainers.image.title": "plex-media-server-exporter",
  "org.opencontainers.image.url": "https://github.com/halkeye/plex-media-server-exporter",
  "org.opencontainers.image.version": "0.0.1"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant