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 +