commit 6d474ec776e4548eac1cba641f590d22a77bde74 Author: Luca Date: Tue Jul 12 20:11:17 2022 +0200 Initial commit 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