aboutsummaryrefslogtreecommitdiff
path: root/gcloud-image-cleanup.aww
diff options
context:
space:
mode:
Diffstat (limited to 'gcloud-image-cleanup.aww')
-rw-r--r--gcloud-image-cleanup.aww4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcloud-image-cleanup.aww b/gcloud-image-cleanup.aww
index 49411e6..726ba82 100644
--- a/gcloud-image-cleanup.aww
+++ b/gcloud-image-cleanup.aww
@@ -1,9 +1,10 @@
## Script to remove all except the last five images.
-#require: gcloud config configurations activate {{.Val "gcloud::config"}}
+#require: gcloud config configurations activate {{.Val "gcloud:arch-builder:config"}}
gcloud compute images list \
--no-standard-images \
+ --format=json \
> current-images.txt
cat current-images.txt
@@ -16,6 +17,7 @@ gcloud compute images list \
gcloud compute images list \
--no-standard-images \
+ --format=json \
> current-images.txt
cat current-images.txt