-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
communityCommunity contributionCommunity contributionenhancementNew feature or requestNew feature or requestneeds triageRequires review from the maintainersRequires review from the maintainers
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
benoittoulme, fmartinez255 and austinpray-mixpanel
Metadata
Metadata
Assignees
Labels
communityCommunity contributionCommunity contributionenhancementNew feature or requestNew feature or requestneeds triageRequires review from the maintainersRequires review from the maintainers