gospt/.drone.yml

29 lines
408 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 05:36:26 +00:00
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret:
2023-01-09 05:52:30 +00:00
GITEA
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 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*