Skip to content

Commit a595970

Browse files
committed
Do not silence errors during manifest inspection
Log the reason docker manifest inspect failed to help debugging. It may fail in an unexpected way, eg. if dockerhub is rate limiting us. Signed-off-by: Bence Szépkúti <[email protected]>
1 parent 6eb33f0 commit a595970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vars/gen_jobs.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def gen_dockerfile_builder_job(String platform, boolean overwrite=false) {
724724
def cache = "$image-cache-$arch"
725725
def check_docker_image
726726
if (common.is_open_ci_env) {
727-
check_docker_image = "docker manifest inspect $common.docker_repo:$tag > /dev/null 2>&1"
727+
check_docker_image = "docker manifest inspect $common.docker_repo:$tag >/dev/null"
728728
} else {
729729
check_docker_image = "aws ecr describe-images --region eu-west-1 --repository-name $common.docker_repo --image-ids imageTag=$tag"
730730
}

0 commit comments

Comments
 (0)