2023-11-08 08:04:01 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
- event: [pull_request, tag]
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
steps:
|
2024-01-16 15:26:59 +00:00
|
|
|
- name: markdownlint
|
2023-11-08 08:04:01 +00:00
|
|
|
image: quay.io/thegeeklab/markdownlint-cli
|
2023-12-15 21:44:32 +00:00
|
|
|
group: test
|
2023-11-08 08:04:01 +00:00
|
|
|
commands:
|
|
|
|
- markdownlint 'README.md'
|
|
|
|
|
2024-01-16 15:26:59 +00:00
|
|
|
- name: spellcheck
|
2023-11-08 08:04:01 +00:00
|
|
|
image: quay.io/thegeeklab/alpine-tools
|
2023-12-15 21:44:32 +00:00
|
|
|
group: test
|
2023-11-08 08:04:01 +00:00
|
|
|
commands:
|
|
|
|
- spellchecker --files '_docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
|
|
|
|
environment:
|
|
|
|
FORCE_COLOR: "true"
|
|
|
|
|
2024-01-16 15:26:59 +00:00
|
|
|
- name: link-validation
|
2023-11-08 08:04:01 +00:00
|
|
|
image: docker.io/lycheeverse/lychee
|
|
|
|
group: test
|
|
|
|
commands:
|
|
|
|
- lychee --no-progress --format detailed README.md
|
|
|
|
|
2024-01-16 15:26:59 +00:00
|
|
|
- name: pushrm-dockerhub
|
2023-11-08 08:04:01 +00:00
|
|
|
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
|
|
|
|
PUSHRM_SHORT: Custom image for Vaultwarden password manager
|
|
|
|
PUSHRM_TARGET: thegeeklab/${CI_REPO_NAME}
|
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
status: [success]
|
|
|
|
|
2024-01-16 15:26:59 +00:00
|
|
|
- name: pushrm-quay
|
2023-11-08 08:04:01 +00:00
|
|
|
image: docker.io/chko/docker-pushrm:1
|
|
|
|
secrets:
|
|
|
|
- source: quay_token
|
|
|
|
target: APIKEY__QUAY_IO
|
|
|
|
environment:
|
|
|
|
PUSHRM_FILE: README.md
|
|
|
|
PUSHRM_TARGET: quay.io/thegeeklab/${CI_REPO_NAME}
|
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
status: [success]
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- build-package
|
|
|
|
- build-container
|