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

Move linux/arm64 Docker build in pipelines to arm64 machine #2970

Open
5 tasks
KaloyanTanev opened this issue Mar 16, 2024 · 0 comments
Open
5 tasks

Move linux/arm64 Docker build in pipelines to arm64 machine #2970

KaloyanTanev opened this issue Mar 16, 2024 · 0 comments
Labels
protocol Protocol Team tickets

Comments

@KaloyanTanev
Copy link
Contributor

KaloyanTanev commented Mar 16, 2024

🎯 Problem to be solved

Currently in the github pipelines the Docker images are built for both linux/amd64 and linux/arm64 platforms. However, both of them are on amd64 linux machine, which forces the runner to build the arm64 through qemu virtualization. This results in 6 to 8 times slower build times. Since 30th Jan 2024 github provides Apple silicon chips, which can build natively arm64. Building on those machines should result in much faster CI/CD pipeline.

🛠️ Proposed solution

  • Investigate if arm64 builds are faster on github macos machine
  • Split the build step of Docker to 2 different machines - one running on ubuntu-latest, the other running on macos-14

🧪 Tests

  • Pipeline passes for both platforms
  • Both images are available on ghcr

👐 Additional acceptance criteria

  • CI/CD pipeline completion time is considerably less
@github-actions github-actions bot added the protocol Protocol Team tickets label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protocol Protocol Team tickets
Projects
None yet
Development

No branches or pull requests

1 participant