Add drone CI
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
nemunaire 2020-10-18 16:14:00 +02:00
commit 5ec2f2997b
2 changed files with 51 additions and 0 deletions

26
.drone.yml Normal file
View file

@ -0,0 +1,26 @@
---
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm
steps:
- name: build
image: python:alpine
commands:
- pip install --no-cache-dir -r requirements.txt
- pip install .
- name: docker
image: plugins/docker
settings:
repo: nemunaire/nemubot
auto_tag: true
auto_tag_suffix: ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
username:
from_secret: docker_username
password:
from_secret: docker_password