This commit is contained in:
parent
778960a6df
commit
3c8877816e
1 changed files with 9 additions and 0 deletions
|
@ -1,7 +1,10 @@
|
|||
pipeline:
|
||||
backend:
|
||||
image: rust
|
||||
environment:
|
||||
- DATABSE_URL=postgres://postgres:password@database:5432/postgres
|
||||
commands:
|
||||
- make migrate
|
||||
- make
|
||||
- make test
|
||||
|
||||
|
@ -13,3 +16,9 @@ pipeline:
|
|||
from_secret: DOCKER_TOKEN
|
||||
repo: realaravinth/librepages-forms
|
||||
tags: latest
|
||||
|
||||
services:
|
||||
database:
|
||||
image: postgres
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=password
|
||||
|
|
Loading…
Reference in a new issue