10
0

Add Drone config
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Lauri Võsandi 2022-05-03 19:10:11 +03:00
parent cf4d81d148
commit 495027ebef
3 changed files with 4 additions and 22 deletions

2
.drone.yml Normal file
View File

@ -0,0 +1,2 @@
kind: template
load: docker.yaml

View File

@ -1,5 +1,5 @@
FROM python:3
RUN pip install aiostream sanic
FROM harbor.k-space.ee/k-space/microservice-base
RUN pip install aiostream
ADD aio_api_ros /aio_api_ros
WORKDIR /aio_api_ros
RUN pip install .

20
Jenkinsfile vendored
View File

@ -1,20 +0,0 @@
#!/usr/bin/groovy
image = "mikrotik-exporter"
label = "latest"
build = null
node {
stage("Checkout") {
checkout scm
}
stage("Build") {
build = docker.build("kspaceee/${image}")
}
stage("Push") {
docker.withRegistry("https://registry.hub.docker.com", "dockerhub-kspace") {
build.push(label)
}
}
}