Skip to content

Commit 91ff02a

Browse files
authored
Use host networking, to be able to access services on the host or service containers (#29)
1 parent 35b61ab commit 91ff02a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phpunit-action.bash

+1
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,6 @@ docker run --rm \
9090
--volume "${github_action_path}/phpunit.phar":/usr/local/bin/phpunit \
9191
--volume "${GITHUB_WORKSPACE}":/app \
9292
--workdir /app \
93+
--network host \
9394
--env-file <( env| cut -f1 -d= ) \
9495
${docker_tag} "${command_string[@]}"

0 commit comments

Comments
 (0)