Skip to content

Commit

Permalink
Don't use a built container for test postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Oct 28, 2021
1 parent 0adcf58 commit 24b01ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,9 @@ jobs:
test:
name: test
runs-on: ubuntu-latest
services:
postgres:
image: sfackler/rust-postgres-test:6
ports:
- 5433:5433
steps:
- uses: actions/checkout@v2
- run: docker compose up -d
- uses: sfackler/actions/rustup@master
with:
version: 1.51.0
Expand Down
8 changes: 6 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
version: '2'
services:
postgres:
image: "sfackler/rust-postgres-test:6"
image: postgres:14
ports:
- 5433:5433
- 5433:5433
volumes:
- ./docker/sql_setup.sh:/docker-entrypoint-initdb.d/sql_setup.sh
environment:
POSTGRES_PASSWORD: postgres
3 changes: 0 additions & 3 deletions docker/Dockerfile

This file was deleted.

0 comments on commit 24b01ad

Please sign in to comment.