Skip to content

Commit

Permalink
try multiple docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Jun 19, 2024
1 parent 6c57731 commit df25f5e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test_run_qna.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit df25f5e

Please sign in to comment.