Skip to content

Commit 31cae29

Browse files
committed
Specify port and user for postgres
1 parent c1fe692 commit 31cae29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323

2424
postgres:
2525
image: postgres:16
26+
ports: ["5432:5432"]
2627
env:
28+
POSTGRES_USER: postgres
2729
POSTGRES_PASSWORD: postgres
2830
options: >-
2931
--health-cmd pg_isready
3032
--health-interval 10s
3133
--health-timeout 5s
3234
--health-retries 5
33-
ports:
34-
- 5432:5432
3535
3636
steps:
3737
- name: Checkout

0 commit comments

Comments
 (0)