Refactored when docker images get deleted to the end of the pipeline [ROCm/clr commit: c8c5016601]
c8c5016601