feat: use vfs
This commit is contained in:
parent
f92b11c7c1
commit
f5d6973901
1 changed files with 6 additions and 3 deletions
|
|
@ -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}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue