Skip to content

Conversation

@ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Jan 6, 2025

Why this should be merged

Adds support to multiarch docker builds and adds support for arm64 docker releases.

How this works

This pull request includes significant updates to the Docker image publishing workflow, focusing on improving the build process and enabling multi-platform support. The most important changes include updating the workflow configuration, enhancing the build scripts, and removing redundant scripts.

Workflow and Configuration Updates:

  • .github/workflows/publish_docker.yml: Updated the workflow to use ubuntu-latest and added steps for installing qemu, creating a multi-platform docker builder, and building/publishing images to DockerHub.

Build Script Enhancements:

  • scripts/build_docker_image.sh: Added support for multi-arch image builds and conditional publishing based on environment variables. The script now uses docker buildx for improved build performance and multi-arch support. [1] [2]

Removal of Redundant Scripts:

Minor Fixes:

How this was tested

CI

Need to be documented?

No

Need to update RELEASES.md?

No

@ceyonur ceyonur requested review from a team and darioush as code owners January 6, 2025 09:36
ceyonur and others added 4 commits January 6, 2025 13:28
qdm12
qdm12 previously approved these changes Jan 6, 2025
@ceyonur ceyonur enabled auto-merge (squash) January 6, 2025 12:17
@ceyonur ceyonur merged commit 9d9cf92 into master Jan 6, 2025
14 checks passed
@ceyonur ceyonur deleted the add-multiarch-docker-build branch January 6, 2025 16:12
ceyonur added a commit that referenced this pull request Mar 4, 2025
* small changes

* relevant warp changes

* use wrapped db package

* nit

* equivalent to subnet-evm 843e3f7

* add multiatch docker build to support arm (#1417)

* remove build_docker_image.sh

---------

Co-authored-by: Ceyhun Onur <[email protected]>
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.

3 participants