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

This commit is contained in:
Lauri Võsandi 2022-02-09 14:43:33 +02:00 committed by Lauri Võsandi
parent 58b98f470a
commit bb21935bdc
2 changed files with 20 additions and 3 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
kind: pipeline
type: kubernetes
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: harbor.k-space.ee/${DRONE_REPO}
registry: harbor.k-space.ee
mtu: 1300
storage_driver: vfs
squash: true
username:
from_secret: docker_username
password:
from_secret: docker_password

View File

@ -1,8 +1,8 @@
FROM python
LABEL name="pinecrypt/ocsp-responder" \
FROM harbor.k-space.ee/k-space/microservice-base
LABEL name="pinecrypt/pinecrypt-gateway-ocsp-responder" \
version="rc" \
maintainer="Pinecrypt Labs <info@pinecrypt.com>"
RUN pip install asn1crypto motor oscrypto pytz sanic sanic_prometheus
RUN pip install asn1crypto motor oscrypto
ADD ocsp_responder.py /ocsp_responder.py
CMD /ocsp_responder.py
EXPOSE 5001