Linking container images to releases and remove gcloud image build#4628
Merged
Conversation
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
✅ Deploy Preview for kptdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the release container build to publish OCI image annotations needed for GitHub to link GHCR images to GitHub Releases, and removes the legacy kpt-gcloud image build path.
Changes:
- Add OCI
org.opencontainers.image.*labels to the GoReleaser Docker build. - Remove the
ghcr.io/kptdev/kpt-gcloudimage build from the GoReleaser config. - Delete the no-longer-needed
release/images/Dockerfile-gcloud.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| release/tag/goreleaser.yaml | Adds OCI labels to the GHCR image build and removes the gcloud image build entry. |
| release/images/Dockerfile-gcloud | Removes the obsolete Dockerfile used for the gcloud-specific image. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com> Assisted-by: GitHub Copilot: Claude Haiku 4.5
mozesl-nokia
approved these changes
Jul 8, 2026
aravindtga
approved these changes
Jul 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub links the images in ghcr based on the
org.opencontainers.image.sourceandorg.opencontainers.image.versionimage annotations. This pr adds these annotations (and some more) to the image building.We do not need a gcloud specific container build anymore, so the related build config was removed.
Fixes #4627