We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa5f6bd commit 1fa12dbCopy full SHA for 1fa12db
start-mongodb.sh
@@ -16,9 +16,7 @@ DOCKER_NETWORK_ALIAS=${12:-$MONGODB_CONTAINER_NAME}
16
17
# If DOCKER_NETWORK not provided, try to detect the default GitHub Actions network
18
if [ -z "$DOCKER_NETWORK" ]; then
19
- if docker network ls --format '{{.Name}}' | grep -q '^github_network$'; then
20
- DOCKER_NETWORK=github_network
21
- fi
+ DOCKER_NETWORK=$(docker network ls --no-trunc --format '{{.Name}}' | grep -q '^github_network')
22
fi
23
24
# Build network args if a network is set
0 commit comments