From ce6aead778df7583cbf19aeca3e35303347dc995 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BA=AE=E4=BA=AE?= Date: Fri, 10 May 2024 10:59:14 +0800 Subject: [PATCH] Woodpecker yaml --- .woodpecker/.build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .woodpecker/.build.yml 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}