From b0dd0d9bcef7e95d19ab040401dae561156b4572 Mon Sep 17 00:00:00 2001 From: Devin Cowan Date: Wed, 10 Apr 2024 20:23:28 -0400 Subject: [PATCH] Update build workflow to include conditional check for image variants --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4a9867..3eb0fc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,7 @@ jobs: name: Setup, Build runs-on: ubuntu-latest continue-on-error: true + if : ${{ needs.detect-changes.outputs.image_variants != '[]' }} strategy: max-parallel: 6 # select a core set of images to build @@ -38,7 +39,6 @@ jobs: - name: Build uses: docker/build-push-action@v5 - if: ${{ matrix.IMAGE_VARIANT }} != '[]' && ${{ matrix.IMAGE_VARIANT }} != '' with: context: . file: ${{ matrix.IMAGE_VARIANT }}