realaravinth / libmedium

An Alternative Medium Frontend | Development continues at: https://git.batsense.net/realaravinth/libmedium
https://libmedium.batsense.net
GNU Affero General Public License v3.0
74 stars 7 forks source link

ARM64 docker image support #30

Closed FireMasterK closed 4 months ago

FireMasterK commented 8 months ago

I was looking to host a public instance, but I realized there's no arm64 support.

I looked at the CI configuration for a bit, and it looks like support can be added by using https://woodpecker-ci.org/plugins/Docker%20Buildx. I'd be happy to submit a PR, but I'm not sure how multi-architecture support works in this. (Does qemu need to be installed on your CI?)

realaravinth commented 8 months ago

I haven't tried using buildx with woodpecker. I remember compiling multiarch with buildx locally requiring some work initially, but that was a long time ago. I don't know what it's like on buildx land :)

I'd love the PR, but it might be annoying for the first time around. So would like to take a crack at it, if you don't mind :)

FireMasterK commented 7 months ago

Hello, any updates on this? If not, should I take a stab at sending a PR? I'm just afraid that you might need to first manually configure buildx, qemu or similar on your CI for it to work.

realaravinth commented 4 months ago

Hey, sorry it took so long. I managed to configure buildx for multiarch builds, but had trouble using it from within Woodpecker. Took a fresh stab at it today, got it working. ARM64 images are now available on docker hub.

jollySleeper commented 3 months ago

Hi @realaravinth can't see ARM64 Images on DockerHub. Any issue faced?

realaravinth commented 3 months ago

Hi @jollySleeper, The CI was supposed to build and publish images, but it looks like it failed for some reason (logs lack information). I re-ran the CI job and it seems to work now.

jollySleeper commented 3 months ago

Thank You So Much @realaravinth