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>
|
||||
|
||||
[![Docker](https://img.shields.io/docker/pulls/realaravinth/dumbserve)](https://hub.docker.com/r/realaravinth/dumbserve)
|
||||
[![Build](https://github.com/realaravinth/dumbserve/actions/workflows/linux.yml/badge.svg)](https://github.com/realaravinth/dumbserve/actions/workflows/linux.yml)
|
||||
[![status-badge](https://ci.batsense.net/api/badges/95/status.svg)](https://ci.batsense.net/repos/95)
|
||||
[![dependency status](https://deps.rs/repo/github/realaravinth/dumbserve/status.svg)](https://deps.rs/repo/github/realaravinth/dumbserve)
|
||||
[![codecov](https://codecov.io/gh/realaravinth/dumbserve/branch/master/graph/badge.svg)](https://codecov.io/gh/realaravinth/dumbserve)
|
||||
|
||||
|
|
Loading…
Reference in a new issue