Don't use a built container for test postgres
This commit is contained in:
parent
0adcf58555
commit
24b01add82
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
FROM postgres:12
|
||||
|
||||
COPY sql_setup.sh /docker-entrypoint-initdb.d/
|
Loading…
Reference in New Issue
Block a user