Add drone config
This commit is contained in:
parent
19541281f2
commit
97e3e2a17f
24
.drone.yaml
Normal file
24
.drone.yaml
Normal 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}
|
Loading…
Reference in a new issue