yamllint/.woodpecker/build.yaml
Simon Cornet f5d6973901
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/manual/build Pipeline failed
feat: use vfs
2026-05-12 10:19:58 +02:00

19 lines
622 B
YAML

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