first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
13
tests/cleanup.sh
Normal file
13
tests/cleanup.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
cleanupImages() {
|
||||
docker images | grep 'auto-' | awk '{print $3}' | xargs docker rmi
|
||||
}
|
||||
|
||||
cleanupImages || echo "some images is not cleanup"
|
||||
|
||||
echo "finish images cleanup"
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user