File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : ' Test'
4+
5+
6+ on :
7+ push :
8+ branches :
9+ - ' **'
10+
11+ env :
12+ # ACTIONS_RUNNER_DEBUG: "true"
13+ # ACTIONS_STEP_DEBUG: "true"
14+ GITHUB_TOKEN : ${{ secrets.WORKFLOW_TOKEN }}
15+
16+
17+ jobs :
18+
19+ bump :
20+ name : ' Config'
21+ if : github.event.commits[0].author.name != 'nfc-bot'
22+ runs-on : ubuntu-latest
23+ steps :
24+
25+
26+ - name : Checkout Code
27+ if : ${{ github.ref_name != 'master' }}
28+ uses : http://${{ secrets.ACTIONS_TOKEN_RO }}@gitea-http.git.svc:3000/actions/checkout@v4
29+ with :
30+ fetch-depth : 0
31+ fetch-tags : true
32+ token : ${{ secrets.WORKFLOW_TOKEN }}
33+
34+
35+ - name : Docker Build
36+ shell : bash
37+ run : |
38+ docker build . \
39+ --tag nofusscompuding/bind:dev
40+
41+
42+ - name : Test Conf
43+ shell : bash
44+ run : |
45+ docker run -t --rm \
46+ nofusscompuding/bind:dev \
47+ sh -c 'named-checkconf -z'
You can’t perform that action at this time.
0 commit comments