gitlab-ci: Skip direct upload if the job failed
Avoid uploading partial files if the job did not succeed. Without this we may end up uploading uncompressed images for otherwise failed jobs which only wastes bandwidth and storage.
Avoid uploading partial files if the job did not succeed. Without this we may end up uploading uncompressed images for otherwise failed jobs which only wastes bandwidth and storage.