From 9b93219c621197a2145c7e26de59216be2dc5d56 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Thu, 17 Sep 2020 09:15:31 +0100 Subject: [PATCH] updated gcr_list_tags.sh --- gcr_list_tags.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcr_list_tags.sh b/gcr_list_tags.sh index 7c06a732..2d8db7d1 100755 --- a/gcr_list_tags.sh +++ b/gcr_list_tags.sh @@ -47,4 +47,4 @@ if ! [[ "$image" =~ $regex ]]; then fi gcloud container images list-tags "$image" --format='csv[no-heading,delimiter="\n"](tags[])' | -grep -v '^[[:space:]]*$' +sed '/^[[:space:]]*$/d'