feat: init CI

This commit is contained in:
Aravinth Manivannan 2023-10-23 19:07:39 +05:30
parent fc4b89792d
commit 3270cc2673
Signed by: realaravinth
GPG key ID: F8F50389936984FF

20
.woodpecker.yml Normal file
View file

@ -0,0 +1,20 @@
pipeline:
build_docker_img:
image: plugins/docker
when:
event: [pull_request]
settings:
dry_run: true
repo: mcaptcha/cli
tags: latest
build_and_publish_docker_img:
image: plugins/docker
when:
event: [push, tag, deployment]
settings:
username: mcaptcha
password:
from_secret: DOCKER_TOKEN
repo: mcaptcha/cli
tags: latest