Closed ihalaij1 closed 1 year ago
What?
Add support for automatic building of multi-architecture container images (amd64/arm64).
This PR requires that service-base has multi-architecture support first.
Why?
Container images built with support for the ARM architecture perform much better on Apple Silicon laptops.
How?
A custom build hook is used to build the image for amd64 and arm64. The image is pushed to Docker Hub in the build hook.
Links about the docker buildx plugin for future reference:
I tested that Docker Hub Automated Builds work as expected.
Description
What?
Add support for automatic building of multi-architecture container images (amd64/arm64).
This PR requires that service-base has multi-architecture support first.
Why?
Container images built with support for the ARM architecture perform much better on Apple Silicon laptops.
How?
A custom build hook is used to build the image for amd64 and arm64. The image is pushed to Docker Hub in the build hook.
Links about the docker buildx plugin for future reference:
Testing
I tested that Docker Hub Automated Builds work as expected.