feat: init CI
This commit is contained in:
parent
fc4b89792d
commit
3270cc2673
1 changed files with 20 additions and 0 deletions
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal 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
|
Loading…
Reference in a new issue