From 374b10423616fbab3a6f34fe51c9914381237bc1 Mon Sep 17 00:00:00 2001 From: dlawler489 <104159223@student.swin.edu.au> Date: Sat, 20 Jun 2026 07:17:05 +1000 Subject: [PATCH] =?UTF-8?q?Drop=20explicit=20docker.sock=20mount=20?= =?UTF-8?q?=E2=80=94=20act=5Frunner=20auto-mounts=20it=20(was=20duplicate)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- .forgejo/workflows/docker-build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/docker-build.yml b/.forgejo/workflows/docker-build.yml index 0bedcd5..e489608 100644 --- a/.forgejo/workflows/docker-build.yml +++ b/.forgejo/workflows/docker-build.yml @@ -13,13 +13,11 @@ jobs: # Runner offers ubuntu-latest; the label only selects the runner. The job # overrides the image below with docker:cli and mounts the host socket. runs-on: ubuntu-latest - # Run the job in a Docker-CLI container and mount the host's Docker socket - # (OrbStack) so `docker build` talks to the host daemon. Requires the runner - # config to allow this volume — see valid_volumes note. + # Run the job in a Docker-CLI container. act_runner already auto-mounts the + # host Docker socket (OrbStack), so `docker` reaches the host daemon — don't + # mount it again here or Docker errors with "Duplicate mount point". container: image: docker:cli - volumes: - - /var/run/docker.sock:/var/run/docker.sock steps: - name: Install git run: apk add --no-cache git