kubers/.drone.yml

26 lines
484 B
YAML
Raw Permalink Normal View History

2023-06-01 18:35:08 +00:00
---
2023-06-01 17:56:30 +00:00
kind: pipeline
name: Release kubers
type: docker
trigger:
2023-06-01 18:35:08 +00:00
ref:
- refs/tags/*
2023-06-01 17:56:30 +00:00
steps:
2023-06-01 18:35:08 +00:00
- name: prepare build
image: alpine
commands:
- apk update && apk add bash
- mkdir dist
- cp ./kubers ./dist
- cp ./completions/_kubers ./dist
2023-06-01 17:56:30 +00:00
2023-06-01 18:35:08 +00:00
- name: gitea release
image: plugins/gitea-release
settings:
api_key:
from_secret: GITEA_SECRET
base_url: https://git.badhouseplants.net
files: dist/*
checksum: sha512