Skip to content

Add container image reference to release notes#1236

Merged
liamfallon merged 2 commits into
kptdev:mainfrom
Nordix:ci-release-body-image-version
Apr 20, 2026
Merged

Add container image reference to release notes#1236
liamfallon merged 2 commits into
kptdev:mainfrom
Nordix:ci-release-body-image-version

Conversation

@aravindtga
Copy link
Copy Markdown
Contributor

After the image is pushed to GHCR, the workflow now appends the container image reference to the GitHub release notes.

Fixes kptdev/kpt#4478

Changes

  • Read the image base path from the function's metadata.yaml and append the version tag to construct the full image reference
  • Append a "Container Image" section to the release notes with the image ref

Testing

Verified in a personal fork by creating a draft release and triggering the workflow with a test tag. The image reference was correctly read from metadata.yaml and appended to the release notes.

Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
Copilot AI review requested due to automatic review settings April 17, 2026 16:30
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for krm-function-catalog canceled.

Name Link
🔨 Latest commit f008bb2
🔍 Latest deploy log https://app.netlify.com/projects/krm-function-catalog/deploys/69e26040871a210008320a42

Copy link
Copy Markdown
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

Note

Copilot was unable to run its full agentic suite in this review.

Updates the post-tag workflow to read a function’s container image reference from metadata.yaml and append it to the corresponding GitHub Release notes after publishing.

Changes:

  • Elevates workflow contents permission to allow editing release notes.
  • Extracts image: base from functions/go/<image_name>/metadata.yaml and constructs <base>:<version>.
  • Appends a “Container Image” section to the release notes when missing.

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

Comment thread .github/workflows/after-tag-with-version.yaml Outdated
Comment thread .github/workflows/after-tag-with-version.yaml Outdated
Comment thread .github/workflows/after-tag-with-version.yaml Outdated
Comment thread .github/workflows/after-tag-with-version.yaml
Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
Copy link
Copy Markdown
Collaborator

@efiacor efiacor left a comment

Choose a reason for hiding this comment

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

Very cool. Thanks for this

@liamfallon liamfallon merged commit 9e045d2 into kptdev:main Apr 20, 2026
8 checks passed
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.

Krm-functions-catalog: Include container image reference in release notes

4 participants