From 3a460a352642fa64c6221e5914bcbe1e333cff62 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 26 Jan 2025 14:05:05 -0500 Subject: [PATCH] prefer listing docker images by name when possible --- cable/unix-channels.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cable/unix-channels.toml b/cable/unix-channels.toml index b8064ef..3062d9f 100644 --- a/cable/unix-channels.toml +++ b/cable/unix-channels.toml @@ -22,7 +22,7 @@ preview_command = "git show -p --stat --pretty=fuller --color=always {0}" # Docker [[cable_channel]] name = "docker-images" -source_command = "docker image list --format \"{{.ID}}\"" +source_command = "docker image list --format=json | jq -r '.[] | .Names[0] // .Id'" preview_command = "docker image inspect {0} | jq -C" # S3