mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-29 04:51:10 +00:00
Remove cargo publish for now
This commit is contained in:
parent
dd92650cff
commit
c432508e65
1 changed files with 38 additions and 38 deletions
76
.drone.yml
76
.drone.yml
|
@ -367,41 +367,41 @@ trigger:
|
|||
event:
|
||||
- tag
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: publish-crate
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: alpine/git:latest
|
||||
user: root
|
||||
commands:
|
||||
- git clone $DRONE_GIT_HTTP_URL .
|
||||
- git checkout $DRONE_COMMIT
|
||||
- chown -R 991:991 .
|
||||
|
||||
- name: publish
|
||||
image: asonix/rust-builder:amd64-latest
|
||||
pull: always
|
||||
environment:
|
||||
CRATES_IO_TOKEN:
|
||||
from_secret: crates_io_token
|
||||
commands:
|
||||
- cargo publish --token $CRATES_IO_TOKEN
|
||||
|
||||
depends_on:
|
||||
- build-amd64
|
||||
- build-arm64v8
|
||||
- build-arm32v7
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
# ---
|
||||
#
|
||||
# kind: pipeline
|
||||
# type: docker
|
||||
# name: publish-crate
|
||||
#
|
||||
# platform:
|
||||
# arch: amd64
|
||||
#
|
||||
# clone:
|
||||
# disable: true
|
||||
#
|
||||
# steps:
|
||||
# - name: clone
|
||||
# image: alpine/git:latest
|
||||
# user: root
|
||||
# commands:
|
||||
# - git clone $DRONE_GIT_HTTP_URL .
|
||||
# - git checkout $DRONE_COMMIT
|
||||
# - chown -R 991:991 .
|
||||
#
|
||||
# - name: publish
|
||||
# image: asonix/rust-builder:amd64-latest
|
||||
# pull: always
|
||||
# environment:
|
||||
# CRATES_IO_TOKEN:
|
||||
# from_secret: crates_io_token
|
||||
# commands:
|
||||
# - cargo publish --token $CRATES_IO_TOKEN
|
||||
#
|
||||
# depends_on:
|
||||
# - build-amd64
|
||||
# - build-arm64v8
|
||||
# - build-arm32v7
|
||||
#
|
||||
# trigger:
|
||||
# event:
|
||||
# - tag
|
||||
|
|
Loading…
Reference in a new issue