Skip to content

Commit

Permalink
Update build workflow to include conditional check for image variants
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Apr 11, 2024
1 parent 79bf85d commit b0dd0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit b0dd0d9

Please sign in to comment.