Automated way for removing build logs

The thing is that every single push back to GitLab will trigger a build so I am guessing depending on the number of push activities then. Our GitLab server is in VM infrastructure and got backup as VM snapshots. Here are some calculations say we have got 20 push activities a day so

20 x 4MB = 80 MB daily

80MB x 22 days = 1,760 MB monthly = 1,7 GB monthly

1,7 GB x 12 = 20,4 GB yearly

It would be nice if we could claim back the valuable storage weekly or monthly.