2023-11-07 08:04:40 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
- event: [pull_request, tag]
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
markdownlint:
|
|
|
|
image: quay.io/thegeeklab/markdownlint-cli
|
|
|
|
commands:
|
|
|
|
- markdownlint 'README.md'
|
|
|
|
|
|
|
|
spellcheck:
|
|
|
|
image: quay.io/thegeeklab/alpine-tools
|
|
|
|
commands:
|
|
|
|
- spellchecker --files '_docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
|
|
|
|
environment:
|
|
|
|
FORCE_COLOR: "true"
|
|
|
|
NPM_CONFIG_LOGLEVEL: "error"
|
|
|
|
|
|
|
|
link-validation:
|
|
|
|
image: docker.io/lycheeverse/lychee
|
|
|
|
group: test
|
|
|
|
commands:
|
|
|
|
- lychee --no-progress --format detailed README.md
|
|
|
|
|
|
|
|
pushrm-dockerhub:
|
|
|
|
image: docker.io/chko/docker-pushrm:1
|
|
|
|
secrets:
|
|
|
|
- source: docker_password
|
|
|
|
target: DOCKER_PASS
|
|
|
|
- source: docker_username
|
|
|
|
target: DOCKER_USER
|
|
|
|
environment:
|
|
|
|
PUSHRM_FILE: README.md
|
2023-11-07 08:27:11 +00:00
|
|
|
PUSHRM_SHORT: Custom Alpine image including a common toolkit
|
2023-11-07 08:04:40 +00:00
|
|
|
PUSHRM_TARGET: ${CI_REPO}
|
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
status: [success]
|
|
|
|
|
|
|
|
pushrm-quay:
|
|
|
|
image: docker.io/chko/docker-pushrm:1
|
|
|
|
secrets:
|
|
|
|
- source: quay_token
|
|
|
|
target: APIKEY__QUAY_IO
|
|
|
|
environment:
|
|
|
|
PUSHRM_FILE: README.md
|
|
|
|
PUSHRM_TARGET: quay.io/${CI_REPO}
|
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
status: [success]
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- build-container
|