2023-11-07 09:43:43 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
- event: [pull_request, tag]
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
steps:
|
2024-01-16 15:26:49 +00:00
|
|
|
- name: markdownlint
|
2023-11-07 09:43:43 +00:00
|
|
|
image: quay.io/thegeeklab/markdownlint-cli
|
|
|
|
commands:
|
|
|
|
- markdownlint 'README.md'
|
|
|
|
|
2024-01-16 15:26:49 +00:00
|
|
|
- name: spellcheck
|
2023-11-07 09:43:43 +00:00
|
|
|
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"
|
|
|
|
|
2024-01-16 15:26:49 +00:00
|
|
|
- name: link-validation
|
2023-11-07 09:43:43 +00:00
|
|
|
image: docker.io/lycheeverse/lychee
|
|
|
|
commands:
|
|
|
|
- lychee --no-progress --format detailed README.md
|
|
|
|
|
2024-01-16 15:26:49 +00:00
|
|
|
- name: pushrm-dockerhub
|
2023-11-07 09:43:43 +00:00
|
|
|
image: docker.io/chko/docker-pushrm:1
|
2024-10-26 18:55:50 +00:00
|
|
|
depends_on: [markdownlint, spellcheck, link-validation]
|
2023-11-07 09:43:43 +00:00
|
|
|
environment:
|
2024-10-26 18:55:50 +00:00
|
|
|
DOCKER_PASS:
|
|
|
|
from_secret: docker_password
|
|
|
|
DOCKER_USER:
|
|
|
|
from_secret: docker_username
|
2023-11-07 09:43:43 +00:00
|
|
|
PUSHRM_FILE: README.md
|
2023-11-07 21:07:11 +00:00
|
|
|
PUSHRM_SHORT: Custom toolkit container based on Alpine
|
2023-11-07 13:02:04 +00:00
|
|
|
PUSHRM_TARGET: thegeeklab/${CI_REPO_NAME}
|
2023-11-07 09:43:43 +00:00
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
status: [success]
|
|
|
|
|
2024-01-16 15:26:49 +00:00
|
|
|
- name: pushrm-quay
|
2023-11-07 09:43:43 +00:00
|
|
|
image: docker.io/chko/docker-pushrm:1
|
2024-10-26 18:55:50 +00:00
|
|
|
depends_on: [markdownlint, spellcheck, link-validation]
|
2023-11-07 09:43:43 +00:00
|
|
|
environment:
|
2024-10-26 18:55:50 +00:00
|
|
|
APIKEY__QUAY_IO:
|
|
|
|
from_secret: quay_token
|
2023-11-07 09:43:43 +00:00
|
|
|
PUSHRM_FILE: README.md
|
2023-11-07 13:02:04 +00:00
|
|
|
PUSHRM_TARGET: quay.io/thegeeklab/${CI_REPO_NAME}
|
2023-11-07 09:43:43 +00:00
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
status: [success]
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- build-package
|
|
|
|
- build-container
|