Aravinth Manivannan
5f2f5fc567
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
28 lines
598 B
YAML
28 lines
598 B
YAML
pipeline:
|
|
backend:
|
|
image: rust
|
|
environment:
|
|
- DATABASE_URL=postgres://postgres:password@database:5432/postgres
|
|
commands:
|
|
- make
|
|
- make test
|
|
|
|
build_docker_img:
|
|
image: plugins/docker
|
|
when:
|
|
event: [pull_request]
|
|
settings:
|
|
dry_run: true
|
|
repo: realaravinth/dumbserve
|
|
tags: latest
|
|
|
|
build_and_publish_docker_img:
|
|
image: plugins/docker
|
|
when:
|
|
event: [push, tag, deployment]
|
|
settings:
|
|
username: realaravinth
|
|
password:
|
|
from_secret: DOCKER_TOKEN
|
|
repo: realaravinth/dumbserve
|
|
tags: latest
|