Adds CI config

This commit is contained in:
Maximilian Kratz 2021-12-29 15:01:29 +01:00
parent 199b6b97cd
commit 6950b01c7a

24
.drone.yml Normal file
View file

@ -0,0 +1,24 @@
kind: pipeline
name: default
auth: &auth
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
repo: &repo
repo: maxkratz/postfix
steps:
- name: docker
image: plugins/docker
settings:
dockerfile: Dockerfile
<<: *repo
tags:
- latest
<<: *auth
when:
branch:
- main