-
-
Notifications
You must be signed in to change notification settings - Fork 673
50 lines (44 loc) · 1.15 KB
/
build-documents.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Build Documents
on:
workflow_dispatch:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
filters:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: dorny/[email protected]
id: filter
with:
filters: |
docker:
- 'docker/**/*'
v5:
- '5.0/**/*'
v4:
- '4.0/**/*'
outputs:
docker: ${{ steps.filter.outputs.docker }}
v4: ${{ steps.filter.outputs.v4 }}
v5: ${{ steps.filter.outputs.v5 }}
build-image:
if: needs.filters.outputs.docker == 'true'
needs: filters
uses: owasp/asvs/.github/workflows/build-and-publish-docker-image.yml@master
build-v4:
if: ${{ always() && needs.filters.outputs.v4 == 'true' }}
needs:
- build-image
- filters
uses: owasp/asvs/.github/workflows/create-4.0-outputs.yml@master
build-v5:
if: ${{ always() && needs.filters.outputs.v5 == 'true' }}
needs:
- build-image
- filters
uses: owasp/asvs/.github/workflows/create-5.0-outputs.yml@master