Skip to content

Commit 45a0686

Browse files
committed
Change postgres connection to hostname
Signed-off-by: Joe Adams <github@joeadams.io>
1 parent c3de66d commit 45a0686

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333
POSTGRES_DB: circle_test
3434
POSTGRES_USER: postgres
3535
POSTGRES_PASSWORD: test
36-
ports:
37-
- 5432:5432
3836
# options: >-
3937
# --health-cmd="pg_isready -U postgres -d circle_test"
4038
# --health-interval=10s
@@ -45,7 +43,7 @@ jobs:
4543
# should also be updated.
4644
image: quay.io/prometheus/golang-builder:1.25-base
4745
env:
48-
DATA_SOURCE_NAME: 'postgresql://postgres:test@localhost:5432/circle_test?sslmode=disable'
46+
DATA_SOURCE_NAME: 'postgresql://postgres:test@postgres:5432/circle_test?sslmode=disable'
4947
GOOPTS: '-v -tags integration'
5048
steps:
5149
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)