From 6d474ec776e4548eac1cba641f590d22a77bde74 Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 12 Jul 2022 20:11:17 +0200 Subject: [PATCH] Initial commit --- .drone.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..3939d37 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,42 @@ +--- + +kind: pipeline +type: docker +name: default + +clone: + disable: yes + +environment: + BRANCH: master + CLONE_URL: https://github.com/zoni/postforward.git + +steps: + - name: clone + image: alpine/git + commands: + - 'git clone $CLONE_URL .' + - git switch $BRANCH + + - name: build + image: golang + commands: + - apt update + - apt install --no-install-recommends make + - make + + - name: release + image: plugins/gitea-release + settings: + api_key: + from_secret: api_key + base_url: https://git.luj0ga.de + files: + - postforward + checksum: + - sha256 + title: ${DRONE_TAG} + +trigger: + event: + - tag