mirror of
https://github.com/drone-plugins/drone-gitea-release.git
synced 2026-06-14 14:02:59 +08:00
24 lines
1.5 KiB
Markdown
24 lines
1.5 KiB
Markdown
# drone-gitea-release
|
|
|
|
[](http://cloud.drone.io/drone-plugins/drone-gitea-release)
|
|
[](https://gitter.im/drone/drone)
|
|
[](https://discourse.drone.io)
|
|
[](https://stackoverflow.com/questions/tagged/drone.io)
|
|
[](https://microbadger.com/images/plugins/gitea-release "Get your own image badge on microbadger.com")
|
|
[](http://godoc.org/github.com/drone-plugins/drone-gitea-release)
|
|
[](https://goreportcard.com/report/github.com/drone-plugins/drone-gitea-release)
|
|
[](https://microbadger.com/images/plugins/gitea-release "Get your own image badge on microbadger.com")
|
|
|
|
Drone plugin to publish files and artifacts to Gitea Release.
|
|
|
|
**Note: This plugin requires Gitea 1.5 or newer.**
|
|
|
|
## Build
|
|
|
|
Build the binary with the following commands:
|
|
|
|
```
|
|
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-gitea-release
|
|
docker build --rm -t plugins/gitea-release .
|
|
```
|