docked icon indicating copy to clipboard operation
docked copied to clipboard

Setup build process for creating a single multi-platform image

Open dhh opened this issue 2 years ago • 1 comments

Currently there are separate images for macOS (darwin/arm64) and Linux/Windows (linux/amd64). Would be nicer to have a single image, but buildx can't do that locally on macOS. Can we do it via a GH action? Or is there another process we can setup to build these images automatically?

dhh avatar Dec 15 '22 10:12 dhh

Got one going using GitHub Actions, but I'm stumped on why there's a permission issue pushing to gcr.io: https://github.com/rails/docked/actions/runs/3705962046

dhh avatar Dec 15 '22 16:12 dhh

Solved via https://github.com/docker/build-push-action/issues/463#issuecomment-924995909.

dhh avatar Dec 16 '22 12:12 dhh