Drop explicit docker.sock mount — act_runner auto-mounts it (was duplicate)
Some checks failed
Build and Push Docker Images / build-and-push (push) Failing after 1m24s
Some checks failed
Build and Push Docker Images / build-and-push (push) Failing after 1m24s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
83048d1c6e
commit
374b104236
1 changed files with 3 additions and 5 deletions
|
|
@ -13,13 +13,11 @@ jobs:
|
||||||
# Runner offers ubuntu-latest; the label only selects the runner. The job
|
# Runner offers ubuntu-latest; the label only selects the runner. The job
|
||||||
# overrides the image below with docker:cli and mounts the host socket.
|
# overrides the image below with docker:cli and mounts the host socket.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Run the job in a Docker-CLI container and mount the host's Docker socket
|
# Run the job in a Docker-CLI container. act_runner already auto-mounts the
|
||||||
# (OrbStack) so `docker build` talks to the host daemon. Requires the runner
|
# host Docker socket (OrbStack), so `docker` reaches the host daemon — don't
|
||||||
# config to allow this volume — see valid_volumes note.
|
# mount it again here or Docker errors with "Duplicate mount point".
|
||||||
container:
|
container:
|
||||||
image: docker:cli
|
image: docker:cli
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install git
|
- name: Install git
|
||||||
run: apk add --no-cache git
|
run: apk add --no-cache git
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue