fuzzysearch/.drone.yml

33 lines
597 B
YAML
Raw Normal View History

2020-01-17 23:13:24 +00:00
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: amd64
steps:
- name: test
2020-12-07 02:59:37 +00:00
image: rust:1-slim-buster
commands:
2020-12-07 02:59:37 +00:00
- apt-get update -y && apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libavdevice-dev pkg-config clang llvm
- cargo build
- cargo test
2020-02-16 05:50:09 +00:00
- name: build-latest
2020-01-17 23:13:24 +00:00
image: plugins/docker
settings:
auto_tag: true
password:
from_secret: docker_password
registry: registry.huefox.com
repo: registry.huefox.com/fuzzysearch
username:
from_secret: docker_username
2020-02-16 05:50:09 +00:00
when:
branch:
- master
2020-01-17 23:13:24 +00:00
...