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
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.