Add drone.yml
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Manuel 2021-10-17 21:31:28 +02:00
parent b4a6519776
commit 2d2b5d372e
Signed by: SunRed
GPG Key ID: 4085037435E1F07A
1 changed files with 46 additions and 0 deletions

46
.drone.yml Normal file
View File

@ -0,0 +1,46 @@
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: publish-init
pull: default
image: plugins/docker
settings:
context: data/Dockerfiles/parsedmarc-init
dockerfile: Dockerfile
group: publish
repo: sunred/parsedmarc
tag: init
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
branch:
- master
event:
- push
- name: publish-latest
pull: default
image: plugins/docker
settings:
context: data/Dockerfiles/parsedmarc
dockerfile: Dockerfile
group: publish
repo: sunred/parsedmarc
tag: latest
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
branch:
- master
event:
- push