Skip to content

Commit

Permalink
CI: GKE build prunes only docker images (fix filter)
Browse files Browse the repository at this point in the history
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 82bb57f

Signed-off-by: Ray Bejjani <ray@isovalent.com>
  • Loading branch information
raybejjani authored and nebril committed Apr 24, 2020
1 parent 1cb5e18 commit 3ed89e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/clean-local-registry-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 3ed89e4

Please sign in to comment.