Add Buildah build check
Some checks failed
Check Container Build Capability / check-build (push) Failing after 0s
Check Buildah Build (Safe) / buildah-build (push) Failing after 21s
Check Kaniko Build (Safe) / kaniko-build (push) Failing after 2s
Verify Mac Runner / verify-runner (push) Successful in 1s

This commit is contained in:
2025-12-29 20:27:43 -06:00
parent ef4c7b5d0e
commit cb0e0f07cf

View File

@@ -0,0 +1,25 @@
name: Check Buildah Build (Safe)
on: [push, workflow_dispatch]
jobs:
buildah-build:
runs-on: macos-m1
steps:
- name: Install Dependencies
run: |
if [ -f /etc/alpine-release ]; then
# Install buildah and fuse-overlayfs for rootless builds
apk add --no-cache nodejs git buildah fuse-overlayfs
fi
- name: Checkout
uses: actions/checkout@v4
- name: Build with Buildah
run: |
echo "FROM alpine" > Dockerfile
echo "RUN echo 'Buildah build successful'" >> Dockerfile
# Buildah needs some storage configuration tweaks for running inside a container
# We use the 'vfs' driver which is slow but works reliably inside containers without special privileges
buildah build --storage-driver=vfs -t test-image .