Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add multiatch docker build to support arm #1417

Merged
merged 7 commits into from
Jan 6, 2025
Merged

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 darioush and a team as code owners January 6, 2025 09:36
.github/workflows/publish_docker.yml Outdated Show resolved Hide resolved
.github/workflows/publish_docker.yml Outdated Show resolved Hide resolved
.github/workflows/publish_docker.yml Outdated Show resolved Hide resolved
ceyonur and others added 4 commits January 6, 2025 13:28
Co-authored-by: Quentin McGaw <quentin.mcgaw@avalabs.org>
Signed-off-by: Ceyhun Onur <ceyhunonur54@gmail.com>
Co-authored-by: Quentin McGaw <quentin.mcgaw@avalabs.org>
Signed-off-by: Ceyhun Onur <ceyhunonur54@gmail.com>
qdm12
qdm12 previously approved these changes Jan 6, 2025
.github/workflows/publish_docker.yml Outdated Show resolved Hide resolved
@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
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