setup-buildx-action
setup-buildx-action copied to clipboard
Configure to use existing buildx builders on Kubernetes cluster?
If I were to configure a pool of buildx agents on a Kubernetes cluster ahead of time, is there a way to basically tell this action to use those instead of creating new pods? This way I could leverage the caches on nodes.
Relevant issue:
- https://github.com/docker/setup-buildx-action/issues/105
+1! I'm guessing this is a duplicate of https://github.com/docker/buildx/issues/23
This is now available via the remote driver
- uses: docker/[email protected]
with:
driver: remote
endpoint: tcp://buildkitd.tplant.com.au:1234
env:
BUILDER_NODE_0_AUTH_TLS_CACERT: ${{ secrets.BUILDKIT_ARM_CA }}
BUILDER_NODE_0_AUTH_TLS_CERT: ${{ secrets.BUILDKIT_ARM_CERT }}
BUILDER_NODE_0_AUTH_TLS_KEY: ${{ secrets.BUILDKIT_ARM_KEY }}