From 83c2f6930ee9c2f9c74e28a0a32a7215cc722f46 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Mon, 12 Feb 2024 17:50:59 +0900 Subject: [PATCH] Prepare universal workflow --- .github/workflows/images_build_rhel.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/images_build_rhel.yml b/.github/workflows/images_build_rhel.yml index 9a29c1768..d561bcc31 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"