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 be325d4 commit 9a72a97Copy full SHA for 9a72a97
.github/workflows/push.yml
@@ -35,18 +35,18 @@ jobs:
35
POSTGRES_PASSWORD: postgres
36
POSTGRES_HOST: postgres
37
POSTGRES_PORT: 5432
38
+ POSTGRES_DATABASE: postgres
39
services:
40
postgres:
- image: postgres
41
+ image: postgres:10.8
42
env:
43
+ POSTGRES_USER: postgres
44
- options: >-
- --health-cmd pg_isready
45
- --health-interval 10s
46
- --health-timeout 5s
47
- --health-retries 5
+ POSTGRES_DB: postgres
48
ports:
49
- - 5432:5432
+ - 5432:5432
+ # needed because the postgres container does not provide a healthcheck
+ options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
50
steps:
51
- name: Checkout
52
uses: actions/checkout@v2
0 commit comments