ci(woodpecker): add initial woodpecker CI configuration
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
pipeline:
|
||||||
|
release tag:
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- yarn global add semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec
|
||||||
|
- yarn exec semantic-release
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
- dev
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
publish docker image:
|
||||||
|
image: plugins/kaniko
|
||||||
|
settings:
|
||||||
|
repo: mcpanda/summertime
|
||||||
|
tags: ${DRONE_TAG##v}
|
||||||
|
registry: registry.container-registry.svc.cluster.local:5000
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
Reference in New Issue
Block a user