beeper / bridge-manager

A tool for running self-hosted bridges with the Beeper Matrix server.
Apache License 2.0
682 stars 42 forks source link

Improve Docker Build and Deployment for Multi-Arch Support (arm64) #31

Open slikie opened 2 months ago

slikie commented 2 months ago

Add multi-arch support for Docker images: The previous implementation did not handle multi-arch correctly. This PR updates the Docker build process to support multiple architectures (linux/amd64 and linux/arm64) using the docker/metadata-action and docker/build-push-action.

Tested the changes on an arm machine and verified the build with the GitHub Container Registry.

Fixes: #25

Additional Note: The beeper/docker-retag-push-latest action does not seem to handle multi-arch correctly, which is a separate issue that needs to be addressed.

Verification: Please verify the changes by checking the Docker image on the GitHub Container Registry: https://github.com/slikie/bridge-manager/pkgs/container/bridge-manager