From 05aaa8fb524431cf7415dd993818092c3ad97267 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Thu, 13 Apr 2023 11:50:01 +0800 Subject: [PATCH] add workflow to build packages --- .woodpecker/build_bin.yml | 12 ++++++++++++ .woodpecker/build_other.yml | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .woodpecker/build_bin.yml create mode 100644 .woodpecker/build_other.yml diff --git a/.woodpecker/build_bin.yml b/.woodpecker/build_bin.yml new file mode 100644 index 0000000..5de56b2 --- /dev/null +++ b/.woodpecker/build_bin.yml @@ -0,0 +1,12 @@ +pipeline: + bin-pack: + image: debian:stable-slim + commands: + - source script/build_single.sh + - build_single ${BIN_PACK} + +matrix: + BIN_PACK: + - dufs-bin + - filebrowser-bin + - forgejo-bin diff --git a/.woodpecker/build_other.yml b/.woodpecker/build_other.yml new file mode 100644 index 0000000..1f00c3f --- /dev/null +++ b/.woodpecker/build_other.yml @@ -0,0 +1,13 @@ +pipeline: + dendrite: + image: golang + commands: + - source script/build_single.sh + - build_single dendrite + + static-deployer-git: + image: debian:stable-slim + commands: + - source script/build_single.sh + - build_single static-deployer-git +