This commit is contained in:
@@ -59,8 +59,8 @@ jobs:
|
||||
echo "Redis IP: ${REDIS_IP}"
|
||||
|
||||
docker network connect ${DOCKER_NET} $(hostname)
|
||||
|
||||
RUNNER_IP_IN_NET=$(docker container inspect $(hostname) -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}')
|
||||
|
||||
RUNNER_IP_IN_NET=$(docker container inspect $(hostname) -f '{{ (index .NetworkSettings.Networks "${DOCKER_NET}").IPAddress }}')
|
||||
|
||||
echo "Runner IP: ${RUNNER_IP_IN_NET}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user