From df25f5e0d7cf09eb12d1bc79feec125f0995b592 Mon Sep 17 00:00:00 2001 From: JGStew Date: Wed, 19 Jun 2024 00:38:42 -0400 Subject: [PATCH] try multiple docker images --- .github/workflows/test_run_qna.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_run_qna.yaml b/.github/workflows/test_run_qna.yaml index 0c39a12..566e2da 100644 --- a/.github/workflows/test_run_qna.yaml +++ b/.github/workflows/test_run_qna.yaml @@ -19,8 +19,11 @@ env: jobs: test_run_qna_docker: runs-on: ubuntu-latest + strategy: + matrix: + container-image: ["redhat/ubi8:latest", "almalinux:latest"] container: - image: redhat/ubi8:latest + image: ${{ matrix.container-image }} steps: - uses: actions/checkout@v4 # https://stackoverflow.com/questions/57946173/github-actions-run-step-on-specific-os @@ -33,7 +36,7 @@ jobs: bash bash/bigfix_run_qna_rhel_family.sh '${{ env.relevance }}' > qna_output.txt cat qna_output.txt cat qna_output.txt | grep "A: " | sed 's/^.*: //' > qna_markdown.txt - echo "## Linux RHEL QNA:" >> $GITHUB_STEP_SUMMARY + echo "## Linux RHEL Family QNA:" >> $GITHUB_STEP_SUMMARY echo "### Errors:" >> $GITHUB_STEP_SUMMARY cat qna_output.txt | grep "E: " | sed 's/^.*: //' >> $GITHUB_STEP_SUMMARY echo "### Result Type:" >> $GITHUB_STEP_SUMMARY