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

Tagged Docker images lack OCI annotations #15497

Open
AlexGustafsson opened this issue Dec 19, 2024 · 0 comments
Open

Tagged Docker images lack OCI annotations #15497

AlexGustafsson opened this issue Dec 19, 2024 · 0 comments

Comments

@AlexGustafsson
Copy link

AlexGustafsson commented Dec 19, 2024

Tagged Loki images don't seem to get any OCI annotations set, while the "latest" tag does. This is an issue stopping third-party tooling to scan Loki images and correlate the data with the source repository.

Example of a Loki image that does contain the appropriate labels:

docker pull grafana/loki
docker image inspect grafana/loki
"Labels": {
  "org.opencontainers.image.created": "2024-10-18T15:52:12Z",
  "org.opencontainers.image.revision": "41a2ee77e8a48639ee0e59bd636d547ff829898b",
  "org.opencontainers.image.source": "https://github.com/grafana/loki.git",
  "org.opencontainers.image.url": "https://github.com/grafana/loki"
}

Examples of Loki images that don't contain any labels:

docker pull grafana/loki:3.3.2
# 3.2.2, 3.3.2, main-82c2c56 or pretty much any other tag
docker image inspect grafana/loki:3.3.2
// ...
"Labels": null,
// ...

Note that this is also true for Promtail. Only the "latest" tag seems to get the right labels.

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

No branches or pull requests

1 participant