From 6c841a9ba97f271446a50af9dd319df43a1cb102 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sun, 22 Sep 2024 18:16:21 +0000 Subject: [PATCH] [README.md] Added instructions on how to to multiplatform builds and push them to docker hub --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9ac73de..c069cd6 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ Building this docker image is quite easy. For a quick start, just use this: docker build -t git-puller . ``` +To do a multi-platform build (here with basic architectures) and upload to Docker Hub (make sure to replace with your Docker Hub username): + +```sh +sudo docker buildx build --no-cache --platform linux/amd64,linux/arm64/v8 -t /git-puller . --push +``` + After this is done successfully, you can check out the new image in your local image store with `docker images`.