chore: Update Dockerfile to use GitHub Container Registry for image build and push

This commit is contained in:
Anduin
2024-06-03 12:21:36 +00:00
parent 1b36e5330f
commit 4698eea6e3
13 changed files with 1167 additions and 52 deletions

View File

@@ -17,19 +17,11 @@ jobs:
with:
node-version: '16'
cache: 'npm'
- name: Install packages
run: sudo gem install mdl
# Generate Readme, mkdocs.
- run: node ./.github/readme-generate.js
# Lint issues first. (Without node_modules)
- name: Lint markdown files
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
- run: pip install -r requirements.txt
- run: mkdocs build
# Do textlint fix.
- run: npm install
- run: ./node_modules/.bin/textlint . --fix
- run: rm ./node_modules -rvf
- run: npm run lint
# Save files.
- uses: stefanzweifel/git-auto-commit-action@v4
with:

View File

@@ -13,13 +13,5 @@ jobs:
with:
node-version: '16'
cache: 'npm'
- name: Install packages
run: sudo gem install mdl
- name: Lint markdown files
run: mdl . -r ~MD036,~MD024,~MD004,~MD029,~MD013,~MD007
- run: pip install -r requirements.txt
- run: mkdocs build --strict
- run: npm install
- run: node .github/manual_lint.js
# Suppress 036 Emphasis used instead of a header
# Suppress 024 Multiple headers with the same content
- run: npm run lint