diff --git a/.github/workflows/schema-dump.yml b/.github/workflows/schema-dump.yml index 6a262b5d1..4a16a139c 100644 --- a/.github/workflows/schema-dump.yml +++ b/.github/workflows/schema-dump.yml @@ -42,7 +42,7 @@ jobs: - name: Run Flyway migrations uses: docker://flyway/flyway:10-alpine env: - FLYWAY_URL: jdbc:postgresql://localhost:5432/postgres + FLYWAY_URL: jdbc:postgresql://postgres:5432/postgres FLYWAY_USER: postgres FLYWAY_PASSWORD: postgres with: @@ -52,7 +52,7 @@ jobs: run: | mkdir -p backend/docs PGPASSWORD=postgres pg_dump \ - -h localhost \ + -h postgres \ -U postgres \ -d postgres \ --schema-only \