From 0f5c983fe8859cfdc9421f0752bc813d666efee0 Mon Sep 17 00:00:00 2001 From: Bryan Perdrizat Date: Mon, 25 Nov 2024 15:42:33 +0100 Subject: [PATCH] ci: add matrix for release/debug mode --- .github/workflows/00-build-container.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/00-build-container.yaml b/.github/workflows/00-build-container.yaml index c050c5dab2..b45ae4ec45 100644 --- a/.github/workflows/00-build-container.yaml +++ b/.github/workflows/00-build-container.yaml @@ -18,14 +18,19 @@ on: - '*.md' jobs: + build_container: + name: Build QFlex containers + runs-on: ubuntu-latest + strategy: fail-fast: false - #matrix: - # binaries: - # - release - # - debug + matrix: + type: + - release + - debug + steps: - name: Clone QFlex uses: actions/checkout@v4 @@ -41,5 +46,6 @@ jobs: context: . push: false tags: parsa/qflex:latest + build-args: MODE=${{ matrix.type }}