Skip to content

Commit aacb082

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

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
@@ -704,7 +704,7 @@ def gen_dockerfile_builder_job(String platform, boolean overwrite=false) {
704704
def tag = "$image-${common.git_hash_object(dockerfile)}-$arch"
705705
def cache = "$image-cache-$arch"
706706
def check_docker_image
707-
if (common.is_open_ci_env) {
707+
if (common.is_open_ci_env || common.is_new_ci_env) {
708708
check_docker_image = "docker manifest inspect $common.docker_repo:$tag >/dev/null"
709709
} else {
710710
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)