Define a cleanup job for image builds in .gitlab-ci.yml
Define a cleanup job that will keep N number of latest images and delete the rest of the older images. N is determined by a variable, for example, NUM_IMAGES_TO_KEEP.
Edited by Eesaan Atluri
Gitlab has been upgraded from 17.7.7 to 17.11.7. See the Gitlab 17.11.7 Release Notes for a list of what's new.
Define a cleanup job that will keep N number of latest images and delete the rest of the older images. N is determined by a variable, for example, NUM_IMAGES_TO_KEEP.