update drone
This commit is contained in:
parent
c60755aafb
commit
ec52dbe75b
22
.drone.yml
22
.drone.yml
@ -1,12 +1,22 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: rust:1.30-slim
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: rust:1.37.0
|
||||
commands:
|
||||
- cargo test --release
|
||||
- cargo test
|
||||
- rustup target add x86_64-unknown-linux-musl
|
||||
- cargo build --release --target x86_64-unknown-linux-musl
|
||||
docker:
|
||||
- name: dockerize
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: repo.shimun.net/shimun/brownpaper
|
||||
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