fix: split docker builds into separate amd64/arm64 manifests with multi-arch support#84
Merged
fix: split docker builds into separate amd64/arm64 manifests with multi-arch support#84
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 configuration in
.goreleaser.yamlto improve multi-architecture support and image publishing. The main changes include splitting Docker builds by architecture and introducing Docker manifest creation for unified multi-arch tags.Docker build and publishing improvements:
amd64andarm64configurations, each with their ownimage_templatesand build flags, rather than building both architectures together. [1] [2]goarchfield to explicitly specify the target architecture for each Docker build.Multi-architecture manifest support:
docker_manifestssection to create unified multi-architecture tags (e.g.,latest, versioned tags) that reference bothamd64andarm64images, making it easier for users to pull the correct image for their platform.https://goreleaser.com/cookbooks/multi-platform-docker-images/#other-things-to-pay-attention-to