diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 7a7eddd..c1e4846 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -9,16 +9,10 @@ jobs: build-and-push: runs-on: docker # actions/checkout & co. are JS actions and need Node, so the job - # container has to be a Node image (not a bare docker CLI image). We - # install the Docker CLI into it and talk to a sidecar dind daemon over - # the network instead of relying on the runner exposing a host socket. + # container has to be a Node image (not a bare docker CLI image). The + # runner already provides a privileged container wired up to its own + # dind sidecar via DOCKER_HOST, so we just need the docker CLI itself. container: node:20-bookworm - services: - docker: - image: docker:27-dind - options: --privileged - env: - DOCKER_HOST: tcp://docker:2375 steps: - name: Checkout uses: actions/checkout@v4