From b5b4359c921ba2d569bb6e58fe5f8638e24570d9 Mon Sep 17 00:00:00 2001 From: Simon Marsh Date: Mon, 30 Oct 2023 08:35:37 +0000 Subject: [PATCH] add drone build --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e3ceef2 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +--- +kind: pipeline +type: docker +name: deb-build + +steps: + + - name: build + image: ubuntu:22.04 + commands: + - apt -y update + - apt -y install build-essential debhelper libssl-dev libpam-dev + - ./configure.sh + - make deb + + - name: upload artifact + image: git.burble.dn42/burble.dn42/drone-gitea-pkg-plugin:latest + settings: + token: + from_secret: TOKEN + version: VERSION + artifact: emailrelay_2.5_amd64.deb + package: emailrelay + owner: burble.dn42 + +--- +kind: secret +name: TOKEN +get: + path: burble.dn42/kv/data/drone/git.burble.dn42 + name: artifact-token +