forked from lab/exemple_ci
Add drone YAML
This commit is contained in:
parent
7c2b45466e
commit
c9278f518a
26
.drone.yml
Normal file
26
.drone.yml
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user