mirror of
https://github.com/docker/bake-action.git
synced 2026-01-22 12:22:21 +01: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:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
- 'releases/v*'
|
- 'releases/v*'
|
||||||
paths-ignore:
|
|
||||||
- '.github/workflows/ci-subaction.yml'
|
|
||||||
- 'subaction/**'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
|
||||||
- '.github/workflows/ci-subaction.yml'
|
|
||||||
- 'subaction/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
targets: ${{ steps.targets.outputs.matrix }}
|
targets: ${{ steps.generate.outputs.targets }}
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
-
|
-
|
||||||
name: Targets matrix
|
name: List targets
|
||||||
id: targets
|
id: generate
|
||||||
uses: ./subaction/list-targets
|
uses: ./subaction/list-targets
|
||||||
with:
|
with:
|
||||||
target: validate
|
target: validate
|
||||||
|
|||||||
@@ -81,14 +81,14 @@ jobs:
|
|||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
targets: ${{ steps.matrix.outputs.targets }}
|
targets: ${{ steps.generate.outputs.targets }}
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
-
|
-
|
||||||
name: Matrix
|
name: List targets
|
||||||
id: matrix
|
id: generate
|
||||||
uses: docker/bake-action/subaction/list-targets@v4
|
uses: docker/bake-action/subaction/list-targets@v4
|
||||||
with:
|
with:
|
||||||
target: validate
|
target: validate
|
||||||
|
|||||||
Reference in New Issue
Block a user