Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-arch docker-build #323

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add multi-arch docker-build #323

wants to merge 1 commit into from

Conversation

rhnvrm
Copy link

@rhnvrm rhnvrm commented Jun 16, 2020

Closes #314

@dereulenspiegel
Copy link

Any chance that this gets merged soon? Would really love to run beehive on a Raspberry Pi :)

@muesli
Copy link
Owner

muesli commented Nov 4, 2020

Afraid that's only part of a solution. Ideally we integrate Docker builds with goreleaser, as this release script is a bit obsolete. Sadly there are still issues with goreleaser and cross-platform builds.

We'll also have to disable the automated Docker hub builds, otherwise these approaches will constantly race each other, at least for the latest tag.

I will do a manual build & push for the latest stable release, so you can at least start using it on a Pi.

@muesli
Copy link
Owner

muesli commented Nov 4, 2020

Actually this is even more complicated than anticipated, because buildx is still an experimental feature and not enabled by default.

@rhnvrm rhnvrm force-pushed the master branch 2 times, most recently from 7e38b36 to 120d7a2 Compare November 6, 2020 15:05
This commit adds multi-arch docker builds using docker buildx
to the release script and a new github action.
@rhnvrm rhnvrm changed the title Adds multi-arch docker-build to release script Add multi-arch docker-build Nov 6, 2020
@muesli
Copy link
Owner

muesli commented Nov 28, 2020

This might help us: https://goreleaser.com/customization/docker_manifest/

@rhnvrm
Copy link
Author

rhnvrm commented Dec 2, 2020

Hey @muesli

I implemented the github action (ref: #314 (comment)).

This might help us: https://goreleaser.com/customization/docker_manifest/

It uses the same experimental setup, so even if we use goreleaser, you will have to set up buildx locally. To avoid this local setup, we can continue using goreleaser to create the tag and push it to the repo; on push of the tag, the github action will build and push the docker image. (ref this PR: c2aca9d)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish arm docker container as well as amd64
3 participants