mirror of
https://github.com/docker/bake-action.git
synced 2025-12-06 07:48:26 +08:00
ci: fix validate workflow
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
12
.github/workflows/validate.yml
vendored
12
.github/workflows/validate.yml
vendored
@@ -9,26 +9,20 @@ on:
|
||||
branches:
|
||||
- 'master'
|
||||
- 'releases/v*'
|
||||
paths-ignore:
|
||||
- '.github/workflows/ci-subaction.yml'
|
||||
- 'subaction/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '.github/workflows/ci-subaction.yml'
|
||||
- 'subaction/**'
|
||||
|
||||
jobs:
|
||||
prepare:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
targets: ${{ steps.targets.outputs.matrix }}
|
||||
targets: ${{ steps.generate.outputs.targets }}
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Targets matrix
|
||||
id: targets
|
||||
name: List targets
|
||||
id: generate
|
||||
uses: ./subaction/list-targets
|
||||
with:
|
||||
target: validate
|
||||
|
||||
@@ -81,14 +81,14 @@ jobs:
|
||||
prepare:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
targets: ${{ steps.matrix.outputs.targets }}
|
||||
targets: ${{ steps.generate.outputs.targets }}
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
-
|
||||
name: Matrix
|
||||
id: matrix
|
||||
name: List targets
|
||||
id: generate
|
||||
uses: docker/bake-action/subaction/list-targets@v4
|
||||
with:
|
||||
target: validate
|
||||
|
||||
Reference in New Issue
Block a user