@dustinrue It's not that hard to start a buildkit runner, I have it running on a cheap hetzner ARM VPS (less than 5€/mo) :
services:
buildkit:
image: moby/buildkit:latest
privileged: true
volumes:
- .certs:/etc/buildkit/certs
ports:
- 1234:1234
command: |
--addr tcp://0.0.0.0:1234
--tlscacert /etc/buildkit/certs/daemon/ca.pem
--tlscert /etc/buildkit/certs/daemon/cert.pem
--tlskey /etc/buildkit/certs/daemon/key.pem
and run
SAN="127.0.0.1 1.2.3.4 example.com" docker buildx bake https://github.com/moby/buildkit.git\#master:examples/create-certs
In the same directory
And the github action :
- name: Start a local Docker Builder
run: |
docker run --rm -d --name buildkitd -p 1234:1234 --privileged moby/buildkit:latest --addr tcp://0.0.0.0:1234
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
with:
driver: remote
endpoint: tcp://localhost:1234
platforms: linux/amd64
append: |
- endpoint: ${{ secrets.DOCKER_BUILDER_ARM64 }}
platforms: linux/arm64
env:
BUILDER_NODE_1_AUTH_TLS_CACERT: ${{ secrets.DOCKER_BUILDER_ARM64_CACERT }}
BUILDER_NODE_1_AUTH_TLS_CERT: ${{ secrets.DOCKER_BUILDER_ARM64_CERT }}
BUILDER_NODE_1_AUTH_TLS_KEY: ${{ secrets.DOCKER_BUILDER_ARM64_KEY }}