forms/.woodpecker.yml

25 lines
480 B
YAML

pipeline:
backend:
image: rust
environment:
- DATABASE_URL=postgres://postgres:password@database:5432/postgres
commands:
- make migrate
- make
- make test
publish:
image: plugins/docker
settings:
username: realaravinth
password:
from_secret: DOCKER_TOKEN
repo: realaravinth/librepages-forms
tags: latest
services:
database:
image: postgres
environment:
- POSTGRES_PASSWORD=password