Fix Actions runner: use docker-capable job image, mount docker socket, add manual trigger
build-agent / build-and-push (push) Failing after 0s
build-agent / build-and-push (push) Failing after 0s
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# Mounts the host Docker socket into every job container act_runner creates, so
|
||||
# `docker build`/`docker push` work inside workflow steps (Docker-outside-of-Docker).
|
||||
# This is a runner-admin-controlled default (not something a workflow author can
|
||||
# request itself), which is the safer of the two ways act_runner supports this.
|
||||
container:
|
||||
options: "-v /var/run/docker.sock:/var/run/docker.sock"
|
||||
Reference in New Issue
Block a user