--- 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-get update - apt-get install -y 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