2020-12-29 13:45:41 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: golang
|
|
|
|
commands:
|
2021-02-14 22:28:09 +00:00
|
|
|
- go build cmd/cooldns.go
|
2020-12-29 13:45:41 +00:00
|
|
|
|
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: GITEA_API_KEY
|
|
|
|
base_url: https://git.kapelle.org
|
|
|
|
files:
|
2021-02-14 22:28:09 +00:00
|
|
|
- cooldns
|
2020-12-29 13:45:41 +00:00
|
|
|
checksum:
|
|
|
|
- md5
|
|
|
|
- sha1
|
|
|
|
- sha256
|
2020-12-30 16:15:02 +00:00
|
|
|
title: ${DRONE_TAG}
|
2020-12-29 13:45:41 +00:00
|
|
|
prerelease: true
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2021-02-14 22:25:04 +00:00
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: docker.kapelle.org/cooldns
|
|
|
|
registry: docker.kapelle.org
|
|
|
|
|
2020-12-29 13:45:41 +00:00
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- tag
|