Skip to content

Commit a192372

Browse files
committed
Use manifest inspect on the new CI
Signed-off-by: Bence Szépkúti <[email protected]>
1 parent b7e14c8 commit a192372

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
@@ -723,7 +723,7 @@ def gen_dockerfile_builder_job(String platform, boolean overwrite=false) {
723723
def tag = "$image-${common.git_hash_object(dockerfile)}-$arch"
724724
def cache = "$image-cache-$arch"
725725
def check_docker_image
726-
if (common.is_open_ci_env) {
726+
if (common.is_open_ci_env || common.is_new_ci_env) {
727727
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"

0 commit comments

Comments
 (0)