Skip to content

Conversation

@martincostello
Copy link
Member

  • Add input to allow for custom image annotations.
  • Pass annotations from docker/metadata-action to docker/build-push-action.

- Add input to allow for custom image annotations.
- Pass annotations from docker/metadata-action to docker/build-push-action.
Copilot AI review requested due to automatic review settings November 10, 2025 10:35
@martincostello martincostello requested a review from a team as a code owner November 10, 2025 10:35
Copy link

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 support for custom annotations to Docker images by introducing a new annotations input parameter. The changes enable users to pass custom annotations through the composite action to the underlying Docker build and push operations.

  • Adds new annotations input parameter to the action
  • Passes annotations through docker/metadata-action and docker/build-push-action
  • Updates documentation to describe the new parameter

Reviewed Changes

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

File Description
actions/docker-build-push-image/action.yaml Adds annotations input definition and passes it to metadata and build-push actions
actions/docker-build-push-image/README.md Documents the new annotations parameter in the inputs table

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

Copy link
Contributor

@ricky-undeadcoders ricky-undeadcoders left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

One minor change request with the docs but otherwise LGTM.

Match the other inputs.

Co-authored-by: Ricky Whitaker <ricky.whitaker@grafana.com>
@martincostello martincostello added this pull request to the merge queue Nov 10, 2025
Merged via the queue into main with commit 62333c1 Nov 10, 2025
18 checks passed
@martincostello martincostello deleted the add-annotations-input branch November 10, 2025 16:23
martincostello added a commit to grafana/docker-otel-lgtm that referenced this pull request Nov 11, 2025
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.

2 participants