update drone
This commit is contained in:
parent
c60755aafb
commit
ec52dbe75b
22
.drone.yml
22
.drone.yml
@ -1,12 +1,22 @@
|
|||||||
pipeline:
|
kind: pipeline
|
||||||
build:
|
name: default
|
||||||
image: rust:1.30-slim
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: rust:1.37.0
|
||||||
commands:
|
commands:
|
||||||
- cargo test --release
|
- cargo test
|
||||||
- rustup target add x86_64-unknown-linux-musl
|
- rustup target add x86_64-unknown-linux-musl
|
||||||
- cargo build --release --target x86_64-unknown-linux-musl
|
- cargo build --release --target x86_64-unknown-linux-musl
|
||||||
docker:
|
- name: dockerize
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
repo: repo.shimun.net/shimun/brownpaper
|
repo: repo.shimun.net/shimun/brownpaper
|
||||||
registry: repo.shimun.net
|
registry: repo.shimun.net
|
||||||
secrets: ["docker_username","docker_password"]
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user