Initial commit
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
This commit is contained in:
commit
6d474ec776
|
@ -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
|
Loading…
Reference in New Issue