This PR adds support for multi-platform Docker builds (both amd64 and arm64) and automates the build and push process using GitHub Actions. It ensures the latest Docker images are available for both architectures.
Changes:
Dockerfile:
Added multi-platform support using ARG PLATFORM.
Defined separate build stages for production, development, and worker.
GitHub Actions Workflow:
Introduced a workflow that builds and pushes Docker images to GitHub Container Registry (ghcr.io).
The workflow triggers on main branch pushes and runs nightly.
Uses Docker Buildx to build for both linux/amd64 and linux/arm64 architectures.
Automatically pushes the image with the :nightly tag.
Purpose:
This PR adds support for multi-platform Docker builds (both
amd64
andarm64
) and automates the build and push process using GitHub Actions. It ensures the latest Docker images are available for both architectures.Changes:
Dockerfile:
ARG PLATFORM
.production
,development
, andworker
.GitHub Actions Workflow:
ghcr.io
).main
branch pushes and runs nightly.linux/amd64
andlinux/arm64
architectures.:nightly
tag.