axeloz / filesharing

Self-hosted files sharing application, easy to setup, easy to use
https://filesharing.webinno.fr
GNU General Public License v3.0
220 stars 33 forks source link

Multiplatform docker image build (arm64) ? #64

Open chrissearle opened 5 months ago

chrissearle commented 5 months ago

I wonder if you'd be willing to get the github action to build this multiplatform so it can run on docker on the arm architecture?

It should be as simple as adding:

platforms: linux/amd64,linux/arm64

to the with block in the docker/build-push-action in the wofkflow (although I've only tested with docker/build-push-action@v5)

axeloz commented 1 month ago

Hello @chrissearle sorry for the delay. Sure, I will look at it. Would you be able to test on your platform if this change works for you?

axeloz commented 1 month ago

@chrissearle I managed to build the Docker image for two platforms but the Github action took 30min to complete instead of 5 min previously. If anyone knows why, I'd would appreciate any help. Is at least the Docker image working for you? Thanks