Add a container build

This commit is contained in:
Nikolai Rodionov
2025-01-30 14:42:01 +01:00
parent 5d8f5af1e3
commit 16449d0c9d
2 changed files with 66 additions and 0 deletions

34
.woodpecker.yaml Normal file

@ -0,0 +1,34 @@
---
when:
event:
- push
steps:
- name: Build and push a container image
image: zot.badhouseplants.net/badhouseplants/badhouseplants-builder:latest
environment:
BUILDAH_REG: zot.badhouseplants.net/badhouseplants/open-strike
privileged: true
secrets:
- registry_token
commands:
- build-container
backend_options:
kubernetes:
resources:
requests:
memory: 200Mi
cpu: 200m
limits:
memory: 200Mi
cpu: 200m
securityContext:
privileged: true
- name: Spell-Checker
failure: ignore
image: node
commands:
- npm i markdown-spellcheck -g
- mdspell "src/content/**/*.md" -n -r