Commit 2d91c600 authored by Elan Ruusamäe's avatar Elan Ruusamäe 🇪🇪

avoid duplication

use existing output
parent 88fc8065
......@@ -6,6 +6,6 @@ docker version >/dev/null 2>/dev/null
CONTAINERS=$(docker ps -a | grep runner | grep project | grep concurrent | grep cache)
echo Clearing docker cache...
for container in $(docker ps -a | grep runner | grep project | grep concurrent | grep cache | awk '{print $1}'); do
for container in $(echo "$CONTAINERS" | awk '{print $1}'); do
docker rm -v $container || :
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment