0
0
mirror of https://github.com/thegeeklab/wp-docker-buildx.git synced 2024-06-02 18:29:42 +02:00
wp-docker-buildx/.woodpecker/docs.yml

81 lines
2.0 KiB
YAML
Raw Permalink Normal View History

2023-08-13 23:08:39 +02:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: markdownlint
2023-08-13 23:08:39 +02:00
image: quay.io/thegeeklab/markdownlint-cli
2023-12-15 22:34:44 +01:00
group: test
2023-08-13 23:08:39 +02:00
commands:
- markdownlint 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
2023-08-13 23:08:39 +02:00
image: quay.io/thegeeklab/alpine-tools
2023-12-15 22:34:44 +01:00
group: test
2023-08-13 23:08:39 +02:00
commands:
- spellchecker --files 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
2023-08-13 23:08:39 +02:00
environment:
FORCE_COLOR: "true"
- name: link-validation
image: docker.io/lycheeverse/lychee
group: test
commands:
- lychee --no-progress --format detailed docs/content README.md
- name: publish
2023-08-14 22:02:11 +02:00
image: quay.io/thegeeklab/wp-git-action
settings:
action:
- pages
author_email: bot@thegeeklab.de
author_name: thegeeklab-bot
branch: docs
2023-08-16 00:11:51 +02:00
message: "[skip ci] auto-update documentation"
2023-08-14 22:02:11 +02:00
netrc_password:
from_secret: github_token
pages_directory: docs/
2023-08-14 22:02:11 +02:00
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success, failure]
2023-08-13 23:08:39 +02:00
- name: pushrm-dockerhub
2023-08-13 23:08:39 +02:00
image: docker.io/chko/docker-pushrm:1
secrets:
- source: docker_password
2023-12-15 22:34:44 +01:00
target: DOCKER_PASS
2023-08-13 23:08:39 +02:00
- source: docker_username
2023-12-15 22:34:44 +01:00
target: DOCKER_USER
2023-08-13 23:08:39 +02:00
environment:
PUSHRM_FILE: README.md
2023-08-14 09:52:25 +02:00
PUSHRM_SHORT: Woodpecker CI plugin to build multiarch OCI images with buildx
2023-08-13 23:08:39 +02:00
PUSHRM_TARGET: ${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
- name: pushrm-quay
2023-08-13 23:08:39 +02: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/${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
depends_on:
2023-08-22 09:46:02 +02:00
- build-package
2023-08-13 23:08:39 +02:00
- build-container