diff --git a/README.md b/README.md index 1fb3b2d..21509b5 100644 --- a/README.md +++ b/README.md @@ -63,17 +63,16 @@ docker buildx bake image-all Following platforms for this image are available: ``` -$ docker run --rm mplatform/mquery crazymax/msmtpd:latest -Image: crazymax/msmtpd:latest - * Manifest List: Yes - * Supported platforms: - - linux/amd64 - - linux/arm/v6 - - linux/arm/v7 - - linux/arm64 - - linux/386 - - linux/ppc64le - - linux/s390x +$ docker buildx imagetools inspect crazymax/msmtpd --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 +linux/s390x ``` ## Environment variables