Skip to content

Conversation

@martincostello
Copy link
Member

Override container image labels from the base Red Hat image to use appropriate values for LGTM.

Resolves #837.

Copilot AI review requested due to automatic review settings October 31, 2025 15:31
@martincostello martincostello added the enhancement New feature or request label Oct 31, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive container metadata labels to the Dockerfile to improve discoverability and provide better context for the LGTM Docker image. The changes focus on standardizing the container image labels according to Kubernetes and OCI specifications.

  • Adds descriptive labels following Kubernetes (io.k8s.) and OCI (org.opencontainers.image.) naming conventions
  • Clears inherited labels from the base image that are not applicable to this image
  • Includes TODO comment for future integration with revision and version labels

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@martincostello
Copy link
Member Author

Depends on grafana/shared-workflows#1488.

Copilot AI review requested due to automatic review settings November 5, 2025 14:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Override container image labels from the base Red Hat image to use appropriate values for LGTM.

Resolves #837.
Add some more labels for the image.
Consume changes from grafana/shared-workflows#1471.

Signed-off-by: Martin Costello <[email protected]>
Apply custom labels to override base image labels.
Copilot AI review requested due to automatic review settings November 5, 2025 15:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@martincostello martincostello marked this pull request as ready for review November 5, 2025 15:11
@martincostello
Copy link
Member Author

I guess this is going to need merging and releasing to see if it actually works, so...

@martincostello martincostello enabled auto-merge (squash) November 5, 2025 15:12
@martincostello martincostello merged commit 8e6a9bb into main Nov 5, 2025
50 checks passed
@martincostello martincostello deleted the gh-837 branch November 5, 2025 15:14
@martincostello
Copy link
Member Author

martincostello commented Nov 5, 2025

There's no real changes to release right now, but we should get a OTel Collector update to 0.139.0 soon so we can test it via that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect image metadata labels

2 participants