badhouseplants-net/.woodpecker.yml

34 lines
748 B
YAML
Raw Normal View History

2024-10-01 14:55:30 +00:00
---
when:
event:
- push
steps:
2024-10-01 16:20:16 +00:00
- name: Build and push a container image
image: zot.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
2024-10-01 16:23:14 +00:00
environment:
BUILDAH_REG: zot.badhouseplants.net/badhouseplants/badhouseplants-net
2024-10-01 14:55:30 +00:00
privileged: true
secrets:
2024-10-01 16:20:16 +00:00
- registry_token
2024-10-01 14:55:30 +00:00
commands:
2024-10-01 16:23:14 +00:00
- build-container
2024-10-01 14:55:30 +00:00
backend_options:
kubernetes:
resources:
requests:
2024-10-01 16:20:16 +00:00
memory: 200Mi
2024-10-01 14:55:30 +00:00
cpu: 200m
limits:
2024-10-01 16:20:16 +00:00
memory: 200Mi
cpu: 200m
2024-10-01 14:55:30 +00:00
securityContext:
privileged: true
- name: Spell-Checker
failure: ignore
image: node
commands:
- npm i markdown-spellcheck -g
- mdspell "src/content/**/*.md" -n -r