Add drone config

This commit is contained in:
Julius 2021-11-15 17:25:56 +01:00
parent 19541281f2
commit 97e3e2a17f
Signed by: j00lz
GPG key ID: AF241B0AA237BBA2

24
.drone.yaml Normal file
View file

@ -0,0 +1,24 @@
---
kind: pipeline
type: kubernetes
name: Build Docker image
trigger:
branch:
- main
- staging
event:
exclude:
- pull_request
steps:
- name: kaniko
image: plugins/kaniko
settings:
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASSWORD
registry: https://registry.voidcorp.nl/
repo: registry.voidcorp.nl/library/pinbot
tags: ${DRONE_COMMIT_BRANCH}