This commit is contained in:
parent
cf4d81d148
commit
495027ebef
2
.drone.yml
Normal file
2
.drone.yml
Normal file
@ -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 .
|
||||
|
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user