| `--pipelines-keep-per-mr` | `$PIPELINES_KEEP_PER_MR` | number of pipelines to keep per merge request (⚠ MR MUST still exist) |
| `--pipelines-delete-older-than` | `$PIPELINES_DELETE_OLDER_THAN` | max age (in days) after which pipelines are deleted (unless they are kept by a keep rule) |
Cleanup is following the same principle as GitLab's cleanup policy : [GitLab's cleanup policy](https://docs.gitlab.com/ee/user/packages/container_registry/reduce_container_registry_storage.html#cleanup-policy)
Cleanup is following the same principle as GitLab's cleanup policy : [GitLab's cleanup policy](https://docs.gitlab.com/user/packages/container_registry/reduce_container_registry_storage/#cleanup-policy)