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