Skip to content

cbuild: return the exit code of skopeo copy

Previously we were trying to copy the image over and returning 0 always. However when gitlab 500s skopeo exits and but we would still return success, causing the pipeline to move over to the build jobs, while the image had failed to upload.

Return the skopeo copy exit code so the build job will fail on unexpected cases.

Edited by Jordan Petridіs

Merge request reports

Loading