Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <[email protected]>
  • Loading branch information
Dominik Rosiek committed Jun 24, 2024
1 parent 4859186 commit 9f11dc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 9f11dc6

Please sign in to comment.