diff --git a/scripts/build-push.sh b/scripts/build-push.sh index afeb7e8..2c2aa7e 100755 --- a/scripts/build-push.sh +++ b/scripts/build-push.sh @@ -32,6 +32,7 @@ function check(){ ## Perform image submit for certification function submit(){ echo "Submitting image for certification, image: ${IMAGE_NAME}" + echo "https://catalog.redhat.com/api/containers/v1/product-listings/id/${OPERATOR_PROJECT_ID}/projects/certification" | jq ".data[] | select(.container.repository_name == \"${NAME}\")._id" --raw-output)" ## Fetch container project id based on directory(image) name CONTAINER_PROJECT_ID="$(curl -sH "X-API-KEY: ${PYAXIS_API_TOKEN}" "https://catalog.redhat.com/api/containers/v1/product-listings/id/${OPERATOR_PROJECT_ID}/projects/certification" | jq ".data[] | select(.container.repository_name == \"${NAME}\")._id" --raw-output)"