gospt/.drone.yml

35 lines
593 B
YAML
Raw Normal View History

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