Skip to content

omniproc/act-buildkit-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Act BuildKit Runner

An act runner based on catthehacker/ubuntu:runner-22.04 with integrated BuildKit. Foundation for buildkit-build-push-action.

The image runs as non-root user runner (uid 1001) for improved security.

Breaking change

Starting with the next release, the container runs as non-root user runner (uid 1001) instead of root. Workflows that depend on root privileges (e.g. apt-get install, writing to system directories) will need adjustment. See the Kubernetes section for PersistentVolume considerations.

Example usage

name: Example
on:
  push:
    branches:
      - main
jobs:
  test:
    runs-on: ubuntu-24.04
    container:
      image: ghcr.io/omniproc/act-buildkit-runner:0.29.0
    steps: 
    - name: git checkout
      uses: actions/checkout@v6

Kubernetes

This image runs as non-root user runner (uid 1001). On Kubernetes, PersistentVolumes shared between the act-runner controller and workflow pods are typically owned by root, which causes Permission denied errors.

To fix this, set fsGroup on the workflow pod's security context so the kubelet chowns the mounted volume:

apiVersion: v1
kind: Pod
spec:
  securityContext:
    fsGroup: 1001
  containers:
    - name: runner
      image: ghcr.io/omniproc/act-buildkit-runner:0.29.0

Releases

Runner versions match BuildKit versions exactly. New BuildKit releases (above v0.28.0) are detected daily and automatically released, built, and published as multi-arch Docker images (linux/amd64, linux/arm64).

For example:

  • BuildKit v0.28.1 → Runner release v0.28.1 → Image ghcr.io/omniproc/act-buildkit-runner:0.28.1
  • BuildKit v0.29.0 → Runner release v0.29.0 → Image ghcr.io/omniproc/act-buildkit-runner:0.29.0

The pipeline is a workflow_call chain: UpdateReleasePublish. See .github/workflows/README.md for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors