From 55eb571804cc4406add3db3bb59bea59b3ae38f2 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Sun, 3 Nov 2024 20:42:51 +0100 Subject: [PATCH] update README --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index eae99ee..0c53bd7 100644 --- a/README.md +++ b/README.md @@ -94,16 +94,16 @@ docker buildx bake image-all Following platforms for this image are available: ``` -$ docker run --rm mplatform/mquery crazymax/rtorrent-rutorrent:latest -Image: crazymax/rtorrent-rutorrent:latest - * Manifest List: Yes - * Supported platforms: - - linux/amd64 - - linux/arm/v6 - - linux/arm/v7 - - linux/arm64 +$ docker buildx imagetools inspect crazymax/rtorrent-rutorrent --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 ### General