-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Updates to support multi-arch image builds #13788
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13788 +/- ##
==========================================
+ Coverage 65.60% 65.64% +0.03%
==========================================
Files 923 923
Lines 69366 69402 +36
Branches 2088 2101 +13
==========================================
+ Hits 45506 45556 +50
+ Misses 19918 19897 -21
- Partials 3942 3949 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
|
2bee03f
to
fa9392b
Compare
43e0d05
to
f14645a
Compare
d2b0400
to
7ab3f75
Compare
45fe197
to
952923f
Compare
7af0fa0
to
2cf4592
Compare
Any updates on this? |
Signed-off-by: Morlay <morlay.null@gmail.com>
Given we have reach consensus with commnunity that we will use separate repo to build images on different arch: I'm closing this PR. Thanks for your contribution. I wish to suggest you join in the discussion in the slack channel |
related #3505 #10578 #12935
Notice
have to build multi-arch image on amd64 host. some dev tool not updates.
qemu
not played well with arm64 host.Requirements
RUN
other arch binary on amd64 host https://github.com/docker/buildx#building-multi-platform-imagesGOARCH
switch.Known Issues
-linux-${arch}
Dockerfile.binary
) to storage binaries instead of google storage (do this in another pr to avoid break CI)Changes
$(REGISTRYPROJECTNAME)
MULTIARCH=true
, withoutMULTIARCH=true
should not break anything)make/photon/*/binary/
and files with suffix-linux-${arch}
photon:3.0
(2.0
is not multi-arch image)COPY
withARG TARGETARCH
make cleanall
.Images published by github actions:
see more in https://github.com/querycap/harbor
Live demo https://harbor.rktl.work/ (in k3s aarch64 cluster)
local run