parsedmarc-dockerized/.drone.yml

46 lines
858 B
YAML

---
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: data/Dockerfiles/parsedmarc-init/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: data/Dockerfiles/parsedmarc/Dockerfile
group: publish
repo: sunred/parsedmarc
tag: latest
password:
from_secret: docker_password
username:
from_secret: docker_username
when:
branch:
- master
event:
- push