test
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-06-10 08:28:09 +09:00
parent e8960b0bb2
commit 49fd648f57
2 changed files with 21 additions and 1 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
kind: pipeline
type: docker
name: 构建 Goose
steps:
- name: 构建 Goose 二进制包
image: golang:alpine
commands:
- git clone https://github.com/pressly/goose.git
- cd goose
- go build -tags='no_mysql no_ydb no_vertica no_mssql no_libsql no_sqlite3 no_clickhouse' -o goose ./cmd/goose
- name: 上传 Goose 二进制到 Gitea
image: plugins/gitea-release
settings:
api_key:
from_secret: API_KEY
base_url: https://gitea.service.jazzwhom.top
files:
- goose

View File

@ -1,2 +1,3 @@
# kagami-goose-build
# Goose 私有构建
为小镜 Bot 准备的 Goose 构建版本。[Goose](https://github.com/pressly/goose) 是一个专门用于数据库版本升级与降级的库。这里通过自动化流水线来构建私有版本。