Closed Hooverdan96 closed 1 year ago
can't get buildx to work for some reason. The other approaches all seem somewhat convoluted (additional manifest to display all architectures on the docker hub as one pull, etc.) but might have to dig in to figure out ...
keeping it open
pushed multi-architecture version to docker hub finally using (with Docker Desktop):
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t 'jackdock96/hdh_dvr:latest' --push .
from within locally cloned repository. Platform tag based on this:
https://github.com/containerd/containerd/blob/master/platforms/platforms.go#L63
Important, that files (especially sh scripts) are formatted with Unix linebreaks (build will still work, but entrypoint script will fail)!
Now need somebody to test on arm device, since I don't have any available.
Thanks to NolanT for proposing the GitHub action approach. Merged now. Also built a new action file for publishing to current docker hub instance.
gotta figure that out somehow