diff --git a/ci/functions.sh b/ci/functions.sh index d8abf6cb37..ea75b12908 100755 --- a/ci/functions.sh +++ b/ci/functions.sh @@ -183,7 +183,7 @@ function wait_for_image() { local count=0 local max=60 # Try for up to 30 minutes - until podman image search --limit 500 --list-tags "${IMAGE}" | grep -q "${IMAGE_TAG}"; do + until [[ $(curl -k -XGET "https://quay.io/api/v1/repository/redhat-user-workloads/cost-mgmt-dev-tenant/koku/tag?specificTag=${IMAGE_TAG}" -Ls | jq '.tags | length') -gt 0 ]]; do echo "${count}: Checking for image ${IMAGE}:${IMAGE_TAG}..." sleep 30 ((count+=1))