Woodpecker yaml

This commit is contained in:
李亮亮 2024-05-10 10:59:14 +08:00
parent efdcd01e70
commit ce6aead778
1 changed files with 21 additions and 0 deletions

21
.woodpecker/.build.yml Normal file
View File

@ -0,0 +1,21 @@
steps:
- name: install
image: golang
commands:
- go mod tidy
- name: build
image: golang
commands:
- go build
- name: docker
image: plugins/docker
settings:
repo: omv.lll.net:5000/lianglianglee/md-view-go
registry: omv.lll.net:5000
insecure: true
tags:
- latest
- master
- ${CI_PREV_PIPELINE_CREATED}