setup-buildx-action icon indicating copy to clipboard operation
setup-buildx-action copied to clipboard

Configure to use existing buildx builders on Kubernetes cluster?

Open abatilo opened this issue 4 years ago • 3 comments

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.

abatilo avatar Oct 18 '21 19:10 abatilo

Relevant issue:

  • https://github.com/docker/setup-buildx-action/issues/105

jamezrin avatar Oct 22 '21 23:10 jamezrin

+1! I'm guessing this is a duplicate of https://github.com/docker/buildx/issues/23

ddelange avatar Apr 11 '22 16:04 ddelange

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 }}

pl4nty avatar Oct 23 '23 14:10 pl4nty