File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed
Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 55root = true
66
77# Settings for IETF datatracker
8+ # ---------------------------------------------------------
89
910[* ]
1011indent_style = space
@@ -14,3 +15,25 @@ charset = utf-8
1415# to avoid tripping Henrik's commit hook:
1516trim_trailing_whitespace = false
1617insert_final_newline = false
18+
19+ # Settings for .github folder
20+ # ---------------------------------------------------------
21+
22+ [.github/** ]
23+ indent_style = space
24+ indent_size = 2
25+ end_of_line = lf
26+ charset = utf-8
27+ trim_trailing_whitespace = false
28+ insert_final_newline = true
29+
30+ # Settings for client-side JS / Vue files
31+ # ---------------------------------------------------------
32+
33+ [client/** ]
34+ indent_style = space
35+ indent_size = 2
36+ end_of_line = lf
37+ charset = utf-8
38+ trim_trailing_whitespace = true
39+ insert_final_newline = true
Original file line number Diff line number Diff line change 1+ # GITHUB ACTIONS - WORKFLOW
2+
3+ # Build the database dev docker image with the latest database dump every night
4+ # so that developers don't have to manually build it themselves.
5+
6+ name : Nightly Dev DB Image
7+
8+ # Controls when the workflow will run
9+ on :
10+ schedule :
11+ - cron : ' 0 0 * * *'
12+
13+ # Allows you to run this workflow manually from the Actions tab
14+ workflow_dispatch :
15+
16+ env :
17+ REGISTRY : ghcr.io
18+ IMAGE_NAME : datatracker-db
19+
20+ jobs :
21+ build :
22+ runs-on : ubuntu-latest
23+ if : ${{ github.ref == 'refs/heads/main' }}
24+ permissions :
25+ contents : read
26+ packages : write
27+ steps :
28+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
29+ - uses : actions/checkout@v2
30+
31+ - name : Get Current Date as Tag
32+ id : date
33+ run : echo "::set-output name=date::$(date +'%Y%m%d')"
34+
35+ - name : Docker Build & Push Action
36+ uses : mr-smithers-excellent/docker-build-push@v5.6
37+ with :
38+ image : ${{ env.IMAGE_NAME }}
39+ tags : nightly-${{ steps.date.outputs.date }}, latest
40+ registry : ${{ env.REGISTRY }}
41+ dockerfile : docker/db.Dockerfile
42+ username : ${{ github.actor }}
43+ password : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments