Skip to content

Add support for arm64 image#81

Merged
vishesh92 merged 1 commit into
apache:mainfrom
shapeblue:add-arm64-image
Nov 25, 2025
Merged

Add support for arm64 image#81
vishesh92 merged 1 commit into
apache:mainfrom
shapeblue:add-arm64-image

Conversation

@vishesh92

@vishesh92 vishesh92 commented Nov 24, 2025

Copy link
Copy Markdown
Member

Fixes #80

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds multi-architecture Docker image support, enabling the cloudstack-kubernetes-provider to run on both AMD64 and ARM64 platforms. The changes implement cross-platform building using Docker Buildx and update the CI/CD pipeline to build and push multi-arch images.

Key changes include:

  • Modified Dockerfile to support cross-compilation with platform-specific build arguments
  • Updated GitHub Actions workflow to use Docker Buildx for multi-platform builds
  • Added registry-based layer caching to optimize build times

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Dockerfile Added build platform arguments and configured cross-compilation for Go builds targeting both amd64 and arm64 architectures
.github/workflows/build-docker-image.yml Replaced simple docker build/push commands with Docker Buildx setup and multi-platform build-push action, including registry cache optimization

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Dockerfile Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/build-docker-image.yml Outdated
Comment thread .github/workflows/build-docker-image.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Dockerfile
Comment thread .github/workflows/build-docker-image.yml

@Pearl1594 Pearl1594 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code lgtm. Just a few questions to understand a few changes.

Comment thread .github/workflows/build-docker-image.yml
Comment thread .github/workflows/build-docker-image.yml
@vishesh92 vishesh92 added this to the 1.2.0 milestone Nov 25, 2025
@vishesh92
vishesh92 merged commit 90adbee into apache:main Nov 25, 2025
9 checks passed
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.

Need docker image build for arm64 platform

4 participants