Do not cleanup anything if there is only one image remaining
raisedadead opened this issue · comments
Mrugesh Mohapatra commented
This action has a feature that deletes images beyond a set threshold, which is currently set in days. If you set the -n
key to 2
, it will delete all images older than two days.
However, this can be problematic if you haven't published any images in those two days. To address this, the action should stop and provide a warning if there is only one image pending or if there are no images built within the threshold days.