From 3ed89e4a9e8192b096be2040720ce29ba8d4c55f Mon Sep 17 00:00:00 2001 From: Ray Bejjani Date: Fri, 24 Apr 2020 12:05:38 +0200 Subject: [PATCH] CI: GKE build prunes only docker images (fix filter) We began pruning docker images older than 6 hours old. The `docker system prune` command also prunes volumes and networks, which isn't needed. Furthermore, the relative-time filter was missing a negative sign. fixes 82bb57f95475c5f4e3997f62febba3ce89d7d351 Signed-off-by: Ray Bejjani --- test/clean-local-registry-tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/clean-local-registry-tag.sh b/test/clean-local-registry-tag.sh index aa83dde37a4dd..49d572d74ae85 100755 --- a/test/clean-local-registry-tag.sh +++ b/test/clean-local-registry-tag.sh @@ -21,4 +21,4 @@ docker push $1/cilium/cilium:$2 docker push $1/cilium/cilium-dev:$2 docker push $1/cilium/operator:$2 -docker system prune -f --filter "until=6h" +docker image prune -f --all --filter "until=-6h"