You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c1d58ba
Browse filesBrowse the repository at this point in the historyBrowse files
Allow overriding target platform for ko and task-runner builds
ko defaults to linux/amd64 regardless of host, and build-task-runner
hardcoded GOOS=linux/GOARCH=amd64 plus --platform linux/amd64, so every
deploy target was amd64-only. Add KO_PLATFORM (for the ko-based
ax-controller/ax-server builds) and TASK_RUNNER_PLATFORM (for the
cross-compiled task-runner image), both defaulting to linux/amd64 to
preserve current behavior, so arm64 clusters can override them, e.g.:
make deploy AX_IMAGE_REPO=... KO_PLATFORM=linux/arm64
make push TASK_RUNNER_PLATFORM=linux/arm64
Dockerfile.task-runner now takes the arch as a build arg instead of a
hardcoded bin/linux_amd64 COPY path.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
0 commit comments