[GC] Prevent host cleanup procedure from deleting images which are in use
- Fix StagesStorage ShouldFetch method: perform fresh docker-inspect, do not use cached inspection result from the previous inspect.
- Fix host cleanup procedure: do not delete none:none orphan images created less than 3 hours ago to prevent deletion of freshly built stage images, which are not saved into the stages storage yet.
[GC] Adjust default volume usages: 70% (-5% margin) for docker-storage, 60% (-10% margin) for local-cache
[registry cleanup] Improvements
- Take into account the images used in k8s when applying policies. Previously, these images were not counted and policies excluded images in additio
n to them. - Keep the images used in k8s and related to nonexistent commits.
- Improve debugging: log the number of images that are deleted and saved by policies.
Other
Add ability to set werf-stapel image name with WERF_STAPEL_IMAGE_NAME environment variable.
Internals
[ci] Tests Workflow: fix