Mauro Torrez c8bbf043c9
All checks were successful
continuous-integration/drone/push Build is passing
version inicial
2019-09-30 02:29:16 -03:00

31 lines
560 B
YAML

---
kind: pipeline
name: default
steps:
- name: build image only
image: plugins/docker
settings:
repo: eumau/postfix
auto_tag: true
dry_run: true
when:
ref:
- refs/pull/**
# event no anda (?)
# event:
# - pull_request
- name: build and publish image
image: plugins/docker
settings:
repo: eumau/postfix
auto_tag: true
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
when:
branch:
- master