add publish pipeline
This commit is contained in:
parent
8120a996a3
commit
b63e9aa45c
20
.drone.yml
20
.drone.yml
@ -11,3 +11,23 @@ steps:
|
||||
environment:
|
||||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: publish
|
||||
|
||||
steps:
|
||||
- name: push
|
||||
image: rust:1-alpine
|
||||
commands:
|
||||
- cargo publish --registry gitea -p chgk_ledb_lib
|
||||
environment:
|
||||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||
CARGO_REGISTRIES_GITEA_INDEX: https://gitea.b4tman.ru/b4tman/_cargo-index
|
||||
CARGO_REGISTRIES_GITEA_TOKEN:
|
||||
from_secret: gitea_password
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- tag
|
||||
|
Loading…
Reference in New Issue
Block a user