diff --git a/.drone.yml b/.drone.yml index bdf5075..7e8169d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,12 +1,22 @@ -pipeline: - build: - image: rust:1.30-slim - commands: - - cargo test --release - - rustup target add x86_64-unknown-linux-musl - - cargo build --release --target x86_64-unknown-linux-musl - docker: - image: plugins/docker - repo: repo.shimun.net/shimun/brownpaper - registry: repo.shimun.net - secrets: ["docker_username","docker_password"] +kind: pipeline +name: default + +steps: + - name: build + image: rust:1.37.0 + commands: + - cargo test + - rustup target add x86_64-unknown-linux-musl + - cargo build --release --target x86_64-unknown-linux-musl + - name: dockerize + 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