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