[PATCH] allow retrying of image build and upload.