brownpaper/.drone.yml
Shimun d4b2f1ffbc
Some checks reported errors
continuous-integration/drone/push Build encountered an error
update image
2020-02-15 18:12:01 +01:00

23 lines
522 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: rust:1.41.0-buster
commands:
- apt update && apt install git clang make pkg-config nettle-dev libssl-dev capnproto libsqlite3-dev -y
- cargo test
- cargo install --path . --root . --debug
- 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