Forked from markuspoerschke/clear_gitlab_runner_cache.sh
Created
August 25, 2024 07:20
-
-
Save pourdaavar/f247a7e404cdbbc660d891be280da0ef to your computer and use it in GitHub Desktop.
Clear GitLab Runner cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker ps -f status=exited | grep "\-cache-" | awk '{print $1}' | xargs docker rm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment