Add Drone config
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
parent
cf4d81d148
commit
495027ebef
|
@ -0,0 +1,2 @@
|
|||
kind: template
|
||||
load: docker.yaml
|
|
@ -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 .
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue