parabuzzle / craneoperator

Gives you a simple web interface for browsing around a Docker Registry
https://hub.docker.com/r/parabuzzle/craneoperator
MIT License
127 stars 32 forks source link

Add arm64 platform build #70

Open Zozman opened 2 years ago

Zozman commented 2 years ago

As described in Issue #69, it would be nice if there were arm64 builds in addition to the amd64 ones so that craneoperator could be run in the Raspberry Pi. Therefore this PR adds the --platform flag to the docker build as defined by v1.4 of the docker API and utilizes buildx as described here to allow both arm64 and amd64 builds to be generated at the same time.

If I've gotten something wrong here just let me know or feel free to ignore this PR (as I don't have access to CircleCI I can't exactly test this).