Images being pushed to $CSCS_REGISTRY_PATH (see CI variables) are cleaned up in the background according to the following rules:

  • No deletion if total storage usage < 300GB
  • No deletion of images newer than 30 days
  • First cleanup excluding folders base, baseimg, baseimage, deploy, deployment
    • Delete images that have been unused for more than 30 days (usage means that the image has been downloaded)
  • Second cleanup if storage usage is still > 300GB
    • Delete images in the above mentioned excluded folders if the image has been unused for more than 365 days