Add drone YAML

This commit is contained in:
mont5piques 2023-02-12 12:23:37 +00:00
parent 7c2b45466e
commit c9278f518a

26
.drone.yml Normal file
View File

@ -0,0 +1,26 @@
---
kind: pipeline
type: kubernetes
name: build
platform:
os: linux
arch: amd64
steps:
- name: build_docker_image
image: plugins/docker:20.14
settings:
username:
from_secret: registry_username
password:
from_secret: registry_password
registry: git.lab.adho.app
repo: git.lab.adho.app/lab/flaskapp
dockerfile: Dockerfile
mtu: 1440
trigger:
event:
- push
- pull_request