ci: drop duplicate docker.sock mount in build-iso
Forgejo-runner's valid_volumes already injects /var/run/docker.sock into every job container, so the explicit `container.volumes` mount in the workflow triggered 'Duplicate mount point' and the job never started. Removed — DOCKER_HOST env is enough. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0f0308bf68
commit
a6cccc67c1
1 changed files with 4 additions and 8 deletions
|
|
@ -16,14 +16,10 @@ jobs:
|
||||||
build-iso:
|
build-iso:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
# The runner is configured for docker-outside-of-docker: it mounts the
|
# The runner is configured for docker-outside-of-docker: its
|
||||||
# host's /var/run/docker.sock. Jobs get the same socket so the
|
# `valid_volumes` whitelists /var/run/docker.sock and it mounts the
|
||||||
# `docker run` inside build.sh talks to the host daemon directly,
|
# socket into every job container automatically — no need to repeat
|
||||||
# no DinD gymnastics.
|
# that mount here (it'd be a duplicate-mount error).
|
||||||
container:
|
|
||||||
image: catthehacker/ubuntu:act-latest
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
env:
|
env:
|
||||||
DOCKER_HOST: unix:///var/run/docker.sock
|
DOCKER_HOST: unix:///var/run/docker.sock
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue