diff --git a/ci-operator/step-registry/baremetalds/e2e/test/baremetalds-e2e-test-commands.sh b/ci-operator/step-registry/baremetalds/e2e/test/baremetalds-e2e-test-commands.sh index fbfa46ebc974d..bd4414ab31ec3 100644 --- a/ci-operator/step-registry/baremetalds/e2e/test/baremetalds-e2e-test-commands.sh +++ b/ci-operator/step-registry/baremetalds/e2e/test/baremetalds-e2e-test-commands.sh @@ -83,6 +83,10 @@ function mirror_test_images() { DEVSCRIPTS_TEST_IMAGE_REPO=${DS_REGISTRY}/localimages/local-test-image openshift-tests images --to-repository ${DEVSCRIPTS_TEST_IMAGE_REPO} | grep ${DEVSCRIPTS_TEST_IMAGE_REPO} > /tmp/mirror + + # Filter out the invalid images from the file + sed -i '/invalid-registry-k8s-io/d' /tmp/mirror + scp "${SSHOPTS[@]}" /tmp/mirror "root@${IP}:/tmp/mirror" MIRROR_RESULT=$(run_mirror_test_images_ssh_commands || echo "fail")