diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 7a863b2..150a206 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -9,11 +9,9 @@ steps: # build yamllint container - name: "build" image: "cr.simoncor.net/quay/buildah/stable:latest" - environment: - BUILDAH_ISOLATION: "chroot" - STORAGE_DRIVER: "vfs" + privileged: true 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}" + - "buildah bud -t yamllint -f Dockerfile.linux.amd64 ." + - "buildah tag yamllint cr.simoncor.net/yamllint:${VERSION}" + - "buildah push cr.simoncor.net/yamllint:${VERSION}"