ci: switch alpine-tools image

This commit is contained in:
Robert Kaussow 2022-07-17 20:41:49 +02:00
parent a32cacb42b
commit a60b17f220
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 5 additions and 9 deletions

View File

@ -32,9 +32,8 @@ local PipelineDocs = {
}, },
{ {
name: 'spellcheck', name: 'spellcheck',
image: 'node:lts-alpine', image: 'thegeeklab/alpine-tools',
commands: [ commands: [
'npm install -g spellchecker-cli',
"spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions", "spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions",
], ],
environment: { environment: {
@ -68,9 +67,8 @@ local PipelineDocs = {
}, },
{ {
name: 'beautify', name: 'beautify',
image: 'node:lts-alpine', image: 'thegeeklab/alpine-tools',
commands: [ commands: [
'npm install -g js-beautify',
"html-beautify -r -f 'public/**/*.html'", "html-beautify -r -f 'public/**/*.html'",
], ],
environment: { environment: {

View File

@ -26,9 +26,8 @@ steps:
- markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md' - markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'
- name: spellcheck - name: spellcheck
image: node:lts-alpine image: thegeeklab/alpine-tools
commands: commands:
- npm install -g spellchecker-cli
- spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions - spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions
environment: environment:
FORCE_COLOR: true FORCE_COLOR: true
@ -52,9 +51,8 @@ steps:
- hugo --panicOnWarning - hugo --panicOnWarning
- name: beautify - name: beautify
image: node:lts-alpine image: thegeeklab/alpine-tools
commands: commands:
- npm install -g js-beautify
- html-beautify -r -f 'public/**/*.html' - html-beautify -r -f 'public/**/*.html'
environment: environment:
FORCE_COLOR: true FORCE_COLOR: true
@ -87,6 +85,6 @@ trigger:
--- ---
kind: signature kind: signature
hmac: 21b711c2a7408288c869215d702e496ec5d887e7e817d23d12d21990f30a18d3 hmac: 1a7ce6a2dd073018dd142fab1c7b691da70143b7a59a9925774ad2cfc8e9dd60
... ...