Skip to content

Commit 9a72a97

Browse files
fix
1 parent be325d4 commit 9a72a97

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/push.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@ jobs:
3535
POSTGRES_PASSWORD: postgres
3636
POSTGRES_HOST: postgres
3737
POSTGRES_PORT: 5432
38+
POSTGRES_DATABASE: postgres
3839
services:
3940
postgres:
40-
image: postgres
41+
image: postgres:10.8
4142
env:
43+
POSTGRES_USER: postgres
4244
POSTGRES_PASSWORD: postgres
43-
options: >-
44-
--health-cmd pg_isready
45-
--health-interval 10s
46-
--health-timeout 5s
47-
--health-retries 5
45+
POSTGRES_DB: postgres
4846
ports:
49-
- 5432:5432
47+
- 5432:5432
48+
# needed because the postgres container does not provide a healthcheck
49+
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
5050
steps:
5151
- name: Checkout
5252
uses: actions/checkout@v2

0 commit comments

Comments
 (0)