I have setup watchtower in my docker-compose to update my containers to use the latest images. However, the old images are still stored and consume storage on my vps server.
I have to manually prune them or set up a cron job: but this means that i would have to setup the cron job anytime i change my server. Is there a way to automatically remove unused images using github actions by setting up some workflow.
New contributor
Hashir Ayaz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.