diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index c0d38e1..ec07b3b 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -25,13 +25,10 @@ on: jobs: build-and-push: runs-on: ubuntu-latest - # Assumes the runner forwards the host's Docker socket into job - # containers -- if this job fails to reach a daemon, add - # container.options: -v /var/run/docker.sock:/var/run/docker.sock - # (and allow that path in valid_volumes) to the runner's config.yaml. + # Relies on the Gitea runner's Docker daemon being reachable from job + # containers, which it is out of the box -- no extra runner config needed. container: image: docker:cli - options: -v /var/run/docker.sock:/var/run/docker.sock steps: # 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). diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 588a82a..f37bc10 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -24,12 +24,10 @@ on: jobs: build-and-push: runs-on: ubuntu-latest - # Assumes the runner forwards the host's Docker socket into job - # containers -- see the matching note in build.yml if this can't reach - # a daemon. + # Relies on the Gitea runner's Docker daemon being reachable from job + # containers, which it is out of the box -- no extra runner config needed. container: image: docker:cli - options: -v /var/run/docker.sock:/var/run/docker.sock steps: # 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).