on: schedule: - cron: "5 * * *" push: branches: - "main" jobs: container-build: name: Build image runs-on: docker steps: - uses: actions/checkout@v4 - run: | apt-get update && \ apt-get install -y buildah - run: buildah bud --isolation=chroot --storage-driver vfs -f ./Containerfile -t example .