---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli
group: test
commands:
- markdownlint 'README.md'
- name: spellcheck
image: quay.io/thegeeklab/alpine-tools
- spellchecker --files '_docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
environment:
FORCE_COLOR: "true"
- name: link-validation
image: docker.io/lycheeverse/lychee
- lychee --no-progress --format detailed README.md
- name: pushrm-dockerhub
image: docker.io/chko/docker-pushrm:1
secrets:
- source: docker_password
target: DOCKER_PASS
- source: docker_username
target: DOCKER_USER
PUSHRM_FILE: README.md
PUSHRM_SHORT: Custom image for Ansible Molecule test automation
PUSHRM_TARGET: thegeeklab/${CI_REPO_NAME}
status: [success]
- name: pushrm-quay
- source: quay_token
target: APIKEY__QUAY_IO
PUSHRM_TARGET: quay.io/thegeeklab/${CI_REPO_NAME}
depends_on:
- build-package
- build-container