Commit 28b11ad
committed
ci(github): use localhost for service containers in github runner
Unlike Gitea Actions (where services and runners share a bridged network),
GitHub Actions VM runners host the services and expose their ports on the
runner VM's loopback interface. Communicating via container names like
'postgres' and 'redis' fails with name translation errors.
Updated the test workflow to use 'localhost' as required by GitHub Actions.1 parent 5e9e9cb commit 28b11ad
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments