0
0
mirror of https://github.com/thegeeklab/retry.git synced 2024-10-30 03:00:39 +00:00
retry/.woodpecker/docs.yml

56 lines
1.4 KiB
YAML
Raw Normal View History

2023-08-22 07:19:02 +00:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: markdownlint
2023-08-22 07:19:02 +00:00
image: quay.io/thegeeklab/markdownlint-cli
commands:
- markdownlint 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
2023-08-22 07:19:02 +00:00
image: quay.io/thegeeklab/alpine-tools
commands:
- spellchecker --files 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
environment:
FORCE_COLOR: "true"
NPM_CONFIG_LOGLEVEL: "error"
- name: pushrm-dockerhub
2023-08-22 07:19:02 +00:00
image: docker.io/chko/docker-pushrm:1
depends_on: [markdownlint, spellcheck]
2023-08-22 07:19:02 +00:00
environment:
DOCKER_PASS:
from_secret: docker_password
DOCKER_USER:
from_secret: docker_username
2023-08-22 07:19:02 +00:00
PUSHRM_FILE: README.md
PUSHRM_SHORT: Retry any shell command
PUSHRM_TARGET: ${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
- name: pushrm-quay
2023-08-22 07:19:02 +00:00
image: docker.io/chko/docker-pushrm:1
depends_on: [markdownlint, spellcheck]
2023-08-22 07:19:02 +00:00
environment:
APIKEY__QUAY_IO:
from_secret: quay_token
2023-08-22 07:19:02 +00:00
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
depends_on:
2023-08-22 07:29:50 +00:00
- build-package
2023-08-22 07:19:02 +00:00
- build-container