Skip to content

Commit 9c7fb5d

Browse files
committed
ci: switch to matrix subaction
Signed-off-by: CrazyMax <[email protected]>
1 parent e1a8c01 commit 9c7fb5d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/validate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
prepare:
2020
runs-on: ubuntu-latest
2121
outputs:
22-
targets: ${{ steps.generate.outputs.targets }}
22+
matrix: ${{ steps.generate.outputs.matrix }}
2323
steps:
2424
-
2525
name: Checkout
2626
uses: actions/checkout@v6
2727
-
28-
name: List targets
28+
name: Generate matrix
2929
id: generate
30-
uses: docker/bake-action/subaction/list-targets@v7
30+
uses: docker/bake-action/subaction/matrix@v7
3131
with:
3232
target: validate
3333

@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
target: ${{ fromJson(needs.prepare.outputs.targets) }}
41+
include: ${{ fromJson(needs.prepare.outputs.matrix) }}
4242
steps:
4343
-
4444
name: Set up Docker Buildx

0 commit comments

Comments
 (0)