update drone

This commit is contained in:
shimunn 2019-09-06 13:41:15 +02:00
parent c60755aafb
commit ec52dbe75b
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

View File

@ -1,12 +1,22 @@
pipeline: kind: pipeline
build: name: default
image: rust:1.30-slim
commands: steps:
- cargo test --release - name: build
- rustup target add x86_64-unknown-linux-musl image: rust:1.37.0
- cargo build --release --target x86_64-unknown-linux-musl commands:
docker: - cargo test
image: plugins/docker - rustup target add x86_64-unknown-linux-musl
repo: repo.shimun.net/shimun/brownpaper - cargo build --release --target x86_64-unknown-linux-musl
registry: repo.shimun.net - name: dockerize
secrets: ["docker_username","docker_password"] image: plugins/docker
settings:
repo: repo.shimun.net/shimun/brownpaper
registry: repo.shimun.net
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag