CI Work
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2023-12-07 20:25:11 +01:00
parent b6df4c7c66
commit a7bf2bd2f0
5 changed files with 109 additions and 24 deletions

34
.drone.yaml Normal file
View File

@@ -0,0 +1,34 @@
kind: pipeline
type: docker
name: Build and Release
when:
# branch:
# - main
event:
- tag
steps:
- name: install-taskfile
image: golang:1.21
commands:
- sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
- name: build
image: golang:1.21
commands:
- task package
- name: release
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