This commit is contained in:
19
.drone.yml
Normal file
19
.drone.yml
Normal 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
|
||||
Reference in New Issue
Block a user