slok / kube-code-generator

Kubernetes code generator docker image
72 stars 21 forks source link

linux/arm64 support #20

Closed phosae closed 1 year ago

phosae commented 1 year ago

use Docker Buildx for multi arch support

phosae commented 1 year ago

/cc @slok

phosae commented 1 year ago

would you like to build/push in one command? the build command can be improved by add --push

docker buildx build --platform linux/amd64,linux/arm64 -t $(IMAGE) --push .
slok commented 1 year ago

All the build system changed on CI and also for now we don't need to support multiarch, most people seem to be ok with amd64, if this changes in the future we can rethink about how to do it. Closing.

Many thanks!