Skip to content

Commit

Permalink
Set PostgreSQL auth method
Browse files Browse the repository at this point in the history
  • Loading branch information
dmikurube committed Sep 25, 2024
1 parent 7ceeec8 commit c4a964c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/input-postgresql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ jobs:
postgres: [ "postgres:12", "postgres:13", "postgres:14", "postgres:15", "postgres:16" ]
runs-on: ubuntu-latest
services:
# scram-sha-256 is default in PostgreSQL 14+, but needs the newer JDBC driver.
postgres:
image: ${{ matrix.postgres }}
ports:
- "5432:5432"
env:
POSTGRES_PASSWORD: postgres
POSTGRES_HOST_AUTH_METHOD: md5 # scram-sha-256 is default in PostgreSQL 14+, but needs the newer JDBC driver.
POSTGRES_HOST_AUTH_METHOD: "md5"
POSTGRES_INITDB_ARGS: "--auth-host=md5"
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit c4a964c

Please sign in to comment.