feat: enable woodpecker
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
b0a1ca56b1
commit
5f2f5fc567
2 changed files with 29 additions and 1 deletions
28
.woodpecker.yml
Normal file
28
.woodpecker.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
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
|
|
@ -7,7 +7,7 @@
|
|||
</p>
|
||||
|
||||
[](https://hub.docker.com/r/realaravinth/dumbserve)
|
||||
[](https://github.com/realaravinth/dumbserve/actions/workflows/linux.yml)
|
||||
[](https://ci.batsense.net/repos/95)
|
||||
[](https://deps.rs/repo/github/realaravinth/dumbserve)
|
||||
[](https://codecov.io/gh/realaravinth/dumbserve)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue