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