From cbda71c83aea99846e4b92222c2c08df1d168ebe Mon Sep 17 00:00:00 2001 From: Charles Ulrich Date: Thu, 11 Apr 2024 10:10:36 -0400 Subject: [PATCH] Support building 32- and 64-bit ARM docker images --- .github/workflows/PublishDocker.yml | 1 + README.md | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PublishDocker.yml b/.github/workflows/PublishDocker.yml index 517bae8..459634b 100644 --- a/.github/workflows/PublishDocker.yml +++ b/.github/workflows/PublishDocker.yml @@ -36,6 +36,7 @@ jobs: id: docker_build uses: docker/build-push-action@v2 with: + platforms: linux/amd64,linux/arm64,linux/arm/v7 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} diff --git a/README.md b/README.md index a4f80da..edb6d51 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,10 @@ Make sure you have **already installed docker**, [Install reference](https://doc > **Notice:** Your need an absolute path, and it will be served by tinyfilemanager. > -> If you want to serve this project at **raspberry pi or another special platform**, you can download project and **build image by yourself**. +> If you want to run this image on any other architecture than one of the following, you can clone this repository and build the image yourself: +* `linux/amd64` +* `linux/arm64` +* `linux/arm/v7` You can execute this following commands: