File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 paths-ignore :
99 - ' **.md'
1010 pull_request :
11- branches :
12- - ' master'
13- - ' releases/v*'
1411 paths-ignore :
1512 - ' **.md'
1613
1714jobs :
15+ prepare :
16+ runs-on : ubuntu-latest
17+ outputs :
18+ targets : ${{ steps.targets.outputs.matrix }}
19+ steps :
20+ -
21+ name : Checkout
22+ uses : actions/checkout@v3
23+ -
24+ name : Targets matrix
25+ id : targets
26+ run : |
27+ echo "matrix=$(docker buildx bake validate --print | jq -cr '.group.validate.targets')" >> $GITHUB_OUTPUT
28+
1829 validate :
1930 runs-on : ubuntu-latest
31+ needs :
32+ - prepare
33+ strategy :
34+ fail-fast : false
35+ matrix :
36+ target : ${{ fromJson(needs.prepare.outputs.targets) }}
2037 steps :
2138 -
2239 name : Checkout
2542 name : Validate
2643 uses : docker/bake-action@v3
2744 with :
28- targets : validate
45+ targets : ${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments