-
Notifications
You must be signed in to change notification settings - Fork 82
Description
What would you like added?
Allow the kubernetes mode GHA runner to run a remote build for Docker Container Actions if a BUILDKIT_HOST and image registry is provided.
Why is this needed?
Today, when passing a Docker Container Actions such as this one to a self hosting GHA in kubernetes mode, there will be a hardcoded error:
Error: Error: Building container actions is not currently supported
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.It makes sense as in this case, by default there is no privilege to run docker build in local without dind.
But in the case the user already has configured a proper remote buildkit, buildx could simply execute the build and override the container when creating the pod.
Additional context
This is based on this community discussion
https://github.com/orgs/community/discussions/172177
I also had created the ticket actions/actions-runner-controller#4236 it case it would be there
On this answer, it was mentioned the problem could be in action container hooks, hence the current issue
https://github.com/orgs/community/discussions/172177#discussioncomment-15015195