2022-09-08 17:56:28 +05:30
|
|
|
pipeline:
|
|
|
|
backend:
|
|
|
|
image: rust
|
2022-09-09 17:16:22 +05:30
|
|
|
environment:
|
|
|
|
- DATABSE_URL=postgres://postgres:password@database:5432/postgres
|
2022-09-08 17:56:28 +05:30
|
|
|
commands:
|
2022-09-09 17:16:22 +05:30
|
|
|
- make migrate
|
2022-09-08 17:56:28 +05:30
|
|
|
- make
|
|
|
|
- make test
|
|
|
|
|
|
|
|
publish:
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username: realaravinth
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_TOKEN
|
|
|
|
repo: realaravinth/librepages-forms
|
|
|
|
tags: latest
|
2022-09-09 17:16:22 +05:30
|
|
|
|
|
|
|
services:
|
|
|
|
database:
|
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=password
|