feat: use vfs
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/manual/build Pipeline failed

This commit is contained in:
Simon Cornet 2026-05-12 10:19:58 +02:00
commit f5d6973901

View file

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