yamllint/.woodpecker/build.yaml
Simon Cornet f92b11c7c1
Some checks failed
ci/woodpecker/manual/build Pipeline failed
feat: initial commit
2026-05-12 10:08:20 +02:00

16 lines
459 B
YAML

---
when:
- event: "push"
branch: "main"
- event: "manual"
steps:
# build yamllint container
- name: "build"
image: "cr.simoncor.net/quay/buildah/stable:latest"
commands:
- "VERSION=$(grep -oP '(?<=yamllint==)[0-9.]+' Dockerfile.linux.amd64)"
- "buildah bud -t yamllint -f Dockerfile.linux.amd64 ."
- "buildah tag yamllint cr.simoncor.net/yamllint:${VERSION}"
- "buildah push cr.simoncor.net/yamllint:${VERSION}"