mirror of
https://github.com/addnab/docker-run-action.git
synced 2024-12-26 10:41:02 +08:00
fix: exposing docker socket for DinD
This commit is contained in:
parent
32e3e5ab6a
commit
1cd63ec344
@ -6,4 +6,4 @@ fi
|
||||
|
||||
echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script
|
||||
|
||||
exec docker run $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"
|
||||
exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user