commit e9882a25d0b53af965b2d62fe25ae2c4579bdefc Author: Luca Date: Mon Oct 18 20:53:03 2021 +0200 Initial commit diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..d1fae7e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,44 @@ +--- + +kind: pipeline +type: docker +name: default + +clone: + disable: yes + +environment: + BRANCH: master + CLONE_URL: https://github.com/lujoga/srtrelay.git + +steps: + - name: clone + image: alpine/git + commands: + - 'git clone $CLONE_URL .' + - git switch $BRANCH + + - name: build + image: golang + commands: + - apt update + - apt install libsrt-openssl-dev + - go build + + - name: release + image: plugins/gitea-release + settings: + api_key: + from_secret: api_key + base_url: https://git.luj0ga.de + files: + - srtrelay + checksum: + - md5 + - sha1 + - sha256 + title: $DRONE_TAG + +trigger: + event: + - tag diff --git a/README.md b/README.md new file mode 100644 index 0000000..7b2941e --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# srtrelay + +This repository solely exists for Drone to build an executable from the actual source code found [on GitHub](https://github.com/lujoga/srtrelay). +To trigger a build, create a new tag. Tags should be named after chemical elements, in the order of their atomic number. +If all elements have been used, you may not create a new tag until you discover another one.