diff --git a/.github/workflows/images_build_rhel.yml b/.github/workflows/images_build_rhel.yml index 9a29c17687..d561bcc317 100644 --- a/.github/workflows/images_build_rhel.yml +++ b/.github/workflows/images_build_rhel.yml @@ -94,6 +94,10 @@ jobs: REDHAT_CERTIFY_CREDENTIALS: ${{ secrets.REDHAT_CERTIFY_CREDENTIALS }} CURRENT_BRANCH: ${{ steps.branch_info.outputs.current_branch }} run: | + if [[ -z "$REDHAT_CERTIFY_CREDENTIALS" ]]; then + echo "::error::Missing RedHat Certification details" + exit 1 + fi component_list=$(jq --raw-output --argjson data "$REDHAT_CERTIFY_CREDENTIALS" -n "\$data.\"$CURRENT_BRANCH\".components | keys | @json") echo "::group::Zabbix Component List"