dumbserve/.woodpecker.yml
Aravinth Manivannan fb2e98fabc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
chore: pin rust container version
2024-07-11 02:11:02 +05:30

29 lines
630 B
YAML

steps:
backend:
image: rust:1.79-bullseye
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]
branch: master
settings:
username: realaravinth
password:
from_secret: DOCKER_TOKEN
repo: realaravinth/dumbserve
tags: latest