We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1716fab commit b189146Copy full SHA for b189146
1 file changed
.github/workflows/validate.yml
@@ -22,7 +22,13 @@ jobs:
22
run: docker compose config --quiet
23
24
- name: Check nginx config syntax
25
- run: docker run --rm -v "$PWD/nginx.conf:/etc/nginx/nginx.conf:ro" nginx:alpine nginx -t
+ run: |
26
+ # Add stub DNS entries for upstream hosts so nginx -t doesn't fail on DNS
27
+ docker run --rm \
28
+ -v "$PWD/nginx.conf:/etc/nginx/nginx.conf:ro" \
29
+ --add-host app:127.0.0.1 \
30
+ --add-host bot:127.0.0.1 \
31
+ nginx:alpine nginx -t
32
33
- name: Verify GHCR image exists
34
run: |
0 commit comments