Drop docker.sock mount instructions from build/release workflows
Build / build-and-push (push) Successful in 1m5s

Manually forwarding the host Docker socket into job containers causes
problems for the Gitea runner and isn't needed -- the runner's daemon is
reachable from job containers out of the box.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-06 17:21:29 +01:00
co-authored by Claude Sonnet 5
parent 923d68f317
commit 00d9008bf9
2 changed files with 4 additions and 9 deletions
+2 -5
View File
@@ -25,13 +25,10 @@ on:
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Assumes the runner forwards the host's Docker socket into job # Relies on the Gitea runner's Docker daemon being reachable from job
# containers -- if this job fails to reach a daemon, add # containers, which it is out of the box -- no extra runner config needed.
# container.options: -v /var/run/docker.sock:/var/run/docker.sock
# (and allow that path in valid_volumes) to the runner's config.yaml.
container: container:
image: docker:cli image: docker:cli
options: -v /var/run/docker.sock:/var/run/docker.sock
steps: steps:
# actions/checkout is a JS action; docker:cli is Alpine-based and has # actions/checkout is a JS action; docker:cli is Alpine-based and has
# no node on PATH by default (same issue fixed in ci.yml). # no node on PATH by default (same issue fixed in ci.yml).
+2 -4
View File
@@ -24,12 +24,10 @@ on:
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Assumes the runner forwards the host's Docker socket into job # Relies on the Gitea runner's Docker daemon being reachable from job
# containers -- see the matching note in build.yml if this can't reach # containers, which it is out of the box -- no extra runner config needed.
# a daemon.
container: container:
image: docker:cli image: docker:cli
options: -v /var/run/docker.sock:/var/run/docker.sock
steps: steps:
# actions/checkout is a JS action; docker:cli is Alpine-based and has # actions/checkout is a JS action; docker:cli is Alpine-based and has
# no node on PATH by default (same issue fixed in ci.yml). # no node on PATH by default (same issue fixed in ci.yml).