From f95d505cef69312dcb1da79af8f4e4436d9e75d4 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Sun, 3 Nov 2024 20:41:07 +0100 Subject: [PATCH] update README --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6de4764..a0eb7ed 100644 --- a/README.md +++ b/README.md @@ -71,14 +71,13 @@ docker buildx bake image-all Following platforms for this image are available: ``` -$ docker run --rm mplatform/mquery crazymax/flarum:latest -Image: crazymax/flarum:latest - * Manifest List: Yes - * Supported platforms: - - linux/amd64 - - linux/arm/v6 - - linux/arm/v7 - - linux/arm64 +$ docker buildx imagetools inspect crazymax/flarum --format "{{json .Manifest}}" | \ + jq -r '.manifests[] | select(.platform.os != null and .platform.os != "unknown") | .platform | "\(.os)/\(.architecture)\(if .variant then "/" + .variant else "" end)"' + +linux/amd64 +linux/arm/v6 +linux/arm/v7 +linux/arm64 ``` ## Environment variables