Skip to content

fix: split docker builds into separate amd64/arm64 manifests with multi-arch support#84

Merged
fentas merged 1 commit intomainfrom
fix/docker
Aug 22, 2025
Merged

fix: split docker builds into separate amd64/arm64 manifests with multi-arch support#84
fentas merged 1 commit intomainfrom
fix/docker

Conversation

@fentas
Copy link
Owner

@fentas fentas commented Aug 22, 2025

This pull request updates the Docker build and release configuration in .goreleaser.yaml to 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:

  • Split Docker builds into separate amd64 and arm64 configurations, each with their own image_templates and build flags, rather than building both architectures together. [1] [2]
  • Added goarch field to explicitly specify the target architecture for each Docker build.

Multi-architecture manifest support:

  • Introduced docker_manifests section to create unified multi-architecture tags (e.g., latest, versioned tags) that reference both amd64 and arm64 images, 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

@fentas fentas merged commit 4dda766 into main Aug 22, 2025
@fentas fentas deleted the fix/docker branch August 22, 2025 13:39
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).
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.

1 participant