diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml new file mode 100644 index 0000000..f64dc1b --- /dev/null +++ b/.woodpecker/.build.yml @@ -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}