diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e7b5dfa --- /dev/null +++ b/.drone.yml @@ -0,0 +1,2 @@ +kind: template +load: docker.yaml diff --git a/Dockerfile b/Dockerfile index 0ae211e..c5c7214 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index d77fdab..0000000 --- a/Jenkinsfile +++ /dev/null @@ -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) - } - } -}