File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # this workflow runs the remote validate bake target from docker/docs
2
+ # to check if yaml reference docs used in this repo are valid
3
+ name : docs-upstream
4
+
5
+ concurrency :
6
+ group : ${{ github.workflow }}-${{ github.ref }}
7
+ cancel-in-progress : true
8
+
9
+ on :
10
+ push :
11
+ branches :
12
+ - ' main'
13
+ - ' v[0-9]*'
14
+ paths :
15
+ - ' .github/workflows/docs-upstream.yml'
16
+ - ' docs/**'
17
+ pull_request :
18
+ paths :
19
+ - ' .github/workflows/docs-upstream.yml'
20
+ - ' docs/**'
21
+
22
+ jobs :
23
+ docs-yaml :
24
+ runs-on : ubuntu-22.04
25
+ steps :
26
+ -
27
+ name : Checkout
28
+ uses : actions/checkout@v4
29
+ -
30
+ name : Upload reference YAML docs
31
+ uses : actions/upload-artifact@v3
32
+ with :
33
+ name : docs-yaml
34
+ path : docs/reference
35
+ retention-days : 1
36
+
37
+ validate :
38
+ uses : docker/docs/.github/workflows/validate-upstream.yml@main
39
+ needs :
40
+ - docs-yaml
41
+ with :
42
+ module-name : docker/compose
You can’t perform that action at this time.
0 commit comments