yamllint/.woodpecker/build.yaml
Simon Cornet 03771d4aac
Some checks failed
ci/woodpecker/push/build Pipeline failed
feat: building is allowed
2026-05-12 10:35:31 +02:00

17 lines
480 B
YAML

---
when:
- event: "push"
branch: "main"
- event: "manual"
steps:
# build yamllint container
- name: "build"
image: "cr.simoncor.net/quay/buildah/stable:latest"
privileged: true
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}"