If the image download fails, the temp file is left behind, which breaks the idempotency of the image download. This commit adds a cleanup step to remove the temp file if the download fails.
2.7 KiB
2.7 KiB