Skip to content

build: add multi-arch image publishing#545

Open
googs1025 wants to merge 2 commits into
openkruise:masterfrom
googs1025:support-arm64-images
Open

build: add multi-arch image publishing#545
googs1025 wants to merge 2 commits into
openkruise:masterfrom
googs1025:support-arm64-images

Conversation

@googs1025

Copy link
Copy Markdown

Summary

  • Add buildx build and push targets for linux/amd64 and linux/arm64 images.
  • Update existing image workflows to build and push multi-arch images in separate steps.
  • Make sandbox-manager and agent-runtime Dockerfiles honor TARGETOS/TARGETARCH.

Test Plan

  • make -n docker-buildx-controller docker-buildx-manager docker-buildx-runtime docker-buildx-sandbox-gateway docker-buildx-traffic-extension
  • make -n docker-pushx-controller docker-pushx-manager docker-pushx-runtime docker-pushx-sandbox-gateway docker-pushx-traffic-extension
  • ruby -e 'require "yaml"; ARGV.each { |f| YAML.load_file(f); puts f }' .github/workflows/docker-image-agent-sandbox-controller.yml .github/workflows/docker-image-sandbox-manager.yml .github/workflows/docker-image-agent-runtime.yml .github/workflows/docker-image-sandbox-gateway.yml\n- git diff --check\n- rg -n "GOARCH=amd64|docker push openkruise|ppc64le|docker-image-traffic-extension" dockerfiles .github/workflows/docker-image-*.yml Makefile

@kruise-bot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign furykerry for approval by writing /assign @furykerry in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kruise-bot

Copy link
Copy Markdown

Welcome @googs1025! It looks like this is your first PR to openkruise/agents 🎉

@googs1025 googs1025 force-pushed the support-arm64-images branch from 2f82771 to 4e7e07b Compare June 16, 2026 12:22
@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.79%. Comparing base (23dc332) to head (00a6e90).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #545   +/-   ##
=======================================
  Coverage   79.79%   79.79%           
=======================================
  Files         205      205           
  Lines       15369    15369           
=======================================
  Hits        12264    12264           
  Misses       2662     2662           
  Partials      443      443           
Flag Coverage Δ
unittests 79.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: CYJiang <googs1025@gmail.com>
@googs1025 googs1025 force-pushed the support-arm64-images branch from 4e7e07b to 44662f7 Compare June 16, 2026 14:27
@googs1025

Copy link
Copy Markdown
Author

@AiRanthem @furykerry /PTAL

Signed-off-by: CYJiang <googs1025@gmail.com>

# Conflicts:
#	.github/workflows/docker-image-agent-runtime.yml
#	.github/workflows/docker-image-agent-sandbox-controller.yml
#	.github/workflows/docker-image-sandbox-gateway.yml
#	.github/workflows/docker-image-sandbox-manager.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants