The number of retention refers to the number of retained images generated after each successful compilation.
Example:
Image A has been successfully compiled 4 times, resulting in four versions of the image. The image versions are sorted from the most recent to the earliest compilation time as follows:
- 1.3
- 1.2
- 1.1
- 1.0
If the number of retained images set for Image A is 3, then only the images from the most recent 3 successful compilations will be retained. The version numbers are as follows:
- 1.3
- 1.2
- 1.1
And the image of version 1.0 will be automatically deleted.