gospt/.drone.yml

35 lines
594 B
YAML
Raw Normal View History

2023-01-08 21:31:36 -08:00
kind: pipeline
type: docker
name: default
steps:
- name: build
2023-01-08 22:08:20 -08:00
image: golang:1.19
2023-01-08 21:31:36 -08:00
commands:
2023-01-08 22:11:44 -08:00
- go build -o gospt
2023-01-09 15:53:26 -08:00
- ./gospt completion zsh > gospt_zsh
2023-01-09 15:54:10 -08:00
- ./gospt completion bash > gospt_bash
2023-01-09 15:53:26 -08:00
- ./gospt completion fish > gospt_fish
2023-01-08 21:36:26 -08:00
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret:
2023-01-16 12:39:43 -08:00
drone_releases
2023-01-08 21:36:26 -08:00
base_url: https://gitea.asdf.cafe
2023-01-08 22:33:30 -08:00
files:
- gospt
2023-01-09 15:52:21 -08:00
- gospt_zsh
2023-01-09 15:56:03 -08:00
- gospt_bash
2023-01-09 15:52:21 -08:00
- gospt_fish
2023-01-08 22:22:19 -08:00
checksum: sha256
2023-01-08 21:31:36 -08:00
trigger:
event:
2023-01-08 21:39:36 -08:00
- tag
2023-01-08 21:45:29 -08:00
when:
event:
- tag
ref:
- refs/tags/v*