chore: update
Java CI with Maven / build-and-test (pull_request) Failing after 54s

This commit is contained in:
TakahashiNg
2026-04-16 05:35:39 +00:00
parent 095ad3d3e4
commit df76fea1f1
+2 -2
View File
@@ -58,9 +58,9 @@ jobs:
echo "PostgreSQL IP: ${POSTGRES_IP}"
echo "Redis IP: ${REDIS_IP}"
docker network connect ${DOCKER_NET} $(hostname)
docker network connect ${DOCKER_NET} $(hostname) || true
RUNNER_IP_IN_NET=$(docker container inspect $(hostname) -f '{{range $k, $v := .NetworkSettings.Networks}}{{$k}}={{$v.IPAddress}} {{end}}' | tr ' ' '\n' | grep "^${DOCKER_NET}=" | cut -d'=' -f2)
RUNNER_IP_IN_NET=$(docker container inspect $(hostname) -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' | grep -oE "\b172\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\b" | tail -n 1)
echo "Runner IP: ${RUNNER_IP_IN_NET}"