SpoticordMusic / spoticord

The official Spoticord Music Discord bot
https://spoticord.com/
GNU Affero General Public License v3.0
47 stars 7 forks source link

Added arm64 support to docker image #22

Closed spectrapulse closed 1 year ago

spectrapulse commented 1 year ago

I've modified the Dockerfile and build-push workflow to make it work. It should now additionally push to ghcr.io and cache to it too slightly reducing the time for image generation. Not entirely sure if the new workflow still works as intended before but everything I've added seems to work on my end and it would suggest that it should work just fine.

Using cross-compilation as emulating an entire architecture with buildx will take way too long, it should be relatively easy to add support for other architectures.

Additionally I've updated all the workflow actions and tested them, should result in no more warnings on the workflow run page :p

I've not ran any tests with the actual source code as I've not touched it.