gsquash/.drone.yaml

31 lines
577 B
YAML
Raw Normal View History

2023-12-07 20:25:11 +01:00
kind: pipeline
type: docker
name: Build and Release
2023-12-07 20:46:12 +01:00
trigger:
branch:
- main
2023-12-07 20:25:11 +01:00
event:
- tag
steps:
2023-12-07 20:46:12 +01:00
- name: Build & Package
2023-12-07 20:25:11 +01:00
image: golang:1.21
commands:
- sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
- task package
2023-12-07 20:46:12 +01:00
- name: Release
2023-12-07 20:25:11 +01:00
image: plugins/gitea-release
settings:
base_url: https://gitea.layla.gg
api_key:
from_secret: gitea_api_key
repo: layla/gsquash
files:
- ./dist/gsquash.tar.gz
---
kind: secret
name: gitea_api_key
get:
path: secret/synology/gitea
name: token