Conversation
fentas
pushed a commit
that referenced
this pull request
Aug 22, 2025
🤖 I have created a release *beep* *boop* --- ## [4.3.0](v4.2.0...v4.3.0) (2025-08-22) ### Features * add kubectl-cnpg plugin support for CloudNativePG management ([#82](#82)) ([f38878a](f38878a)) ### Bug Fixes * docker build for goreleaser ([#85](#85)) ([0c19bae](0c19bae)) * split docker builds into separate amd64/arm64 manifests with multi-arch support ([#84](#84)) ([4dda766](4dda766)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
This pull request updates the Docker build and release process to improve multi-architecture support and streamline the Dockerfile for use with GoReleaser. The changes separate Docker image builds for
amd64andarm64architectures, introduce Docker manifest creation for multi-arch tags, and simplify theDockerfileto expect pre-built binaries from GoReleaser.Multi-architecture Docker image support:
.goreleaser.yamlfile now defines separatedockersentries foramd64andarm64, each with its ownimage_templatesand platform-specific build flags. This replaces the previous single multi-platform build setup. [1] [2]docker_manifestssection to.goreleaser.yamlto automatically create multi-architecture image tags (e.g.,ghcr.io/fentas/b:latestandghcr.io/fentas/b:{{ .Tag }}) that reference both theamd64andarm64images.Dockerfile simplification for GoReleaser:
Dockerfileis simplified to use a singlescratchstage, copying in the pre-built binary (b) provided by GoReleaser, instead of building the binary within the Docker build process.alpine:latestimage rather than from a build stage, further minimizing the final image and decoupling it from the build process.