Add '.drone.yml'

This commit is contained in:
2022-01-18 15:44:34 +00:00
parent 74ce7e2084
commit c32366e637

33
.drone.yml Normal file
View File

@@ -0,0 +1,33 @@
kind: pipeline
type: kubernetes
name: Harbor
steps:
- name: build & publish
image: plugins/docker
context: .
settings:
repo: bv11-cr01.bessems.eu/library/lowdefy
registry: bv11-cr01.bessems.eu
tags: latest
username:
from_secret: harbor_username
password:
from_secret: harbor_password
---
kind: pipeline
type: kubernetes
name: Dockerhub
steps:
- name: build & publish
image: plugins/docker
context: .
settings:
repo: djpbessems/lowdefy
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password