20 lines
386 B
YAML
20 lines
386 B
YAML
|
kind: pipeline
|
||
|
name: default
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang:1.17.2
|
||
|
commands:
|
||
|
- git tag $DRONE_TAG
|
||
|
- bash make.sh
|
||
|
- echo -n "latest,${DRONE_TAG#v}" > .tags
|
||
|
- name: gitea_release
|
||
|
image: plugins/gitea-release
|
||
|
settings:
|
||
|
api_key:
|
||
|
from_secret: gitea_api_key
|
||
|
base_url: https://kumoly.io
|
||
|
files: dist/*
|
||
|
checksum:
|
||
|
- sha256
|
||
|
trigger:
|
||
|
event: tag
|