feat: migrate to woodpecker CI
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Aravinth Manivannan 2023-02-19 20:17:10 +05:30
parent 3343b698aa
commit 7d4c1298c1
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 33 additions and 0 deletions

33
.woodpecker.yml Normal file
View File

@ -0,0 +1,33 @@
pipeline:
backend:
image: rust
environment:
- GIT_HASH=8e77345f1597e40c2e266cb4e6dee74888918a61 # dummy value
- COMPILED_DATE=2021-07-21
commands:
- rustup component add rustfmt
- rustup component add clippy
- make check
- make lint
- make
- make test
build_docker_img:
image: plugins/docker
when:
event: [pull_request]
settings:
dry_run: true
repo: realaravinth/libmedium
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/libmedium
tags: latest