lukechilds / docker-electrumx

Run an Electrum server with one command
MIT License
109 stars 124 forks source link

WIP (do not merge): GH actions multiarch #44

Open ndeet opened 4 years ago

ndeet commented 4 years ago

Based on your comment in #43 I tried it with GH actions and the excelent boilerplate.

To make it work you need to create access token on DockerHub and add it as secret DOCKER_TOKEN

What works: The GH workflow runs and seems to do the 3 arch builds, uploads them to docker and makes release on GH. As secrets do not work on forked repos I needed to push to new repo to try workflows, you can see it here: https://github.com/ndeet/docker-electrumx-workflow/actions and on DockerHub: https://hub.docker.com/repository/docker/ndeet/electrumx-workflow/tags?page=1

Open issues/todo: I tried to replace your image with mine on BTCPayServer and assumed it will fetch the arm64v8 arch but it is still a amd64 arch it seems. Also when you look at master tags arch still says amd64 and on the tagged release it has weird slashes in the arch. Will debug that further.

lukechilds commented 4 years ago

Wow, great work @ndeet!

@meeDamian any pointers on the arch issue? Have you came across this issue before with the box?

meeDamian commented 4 years ago

I started looking into it, and found a bunch of really weird things, ex. docker hub digests don't match ones I end up pulling - could you guys verify that too?

I'll look into it shortly, but now gotta run catch a train!