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
1 changed files with 20 additions and 0 deletions

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