--- 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}"