Mauro Torrez 38f618a35c
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
CI: build (but not push) on pull request
2019-09-25 19:23:35 -03:00

28 lines
498 B
YAML

---
kind: pipeline
name: default
steps:
- name: build image only
image: plugins/docker
settings:
repo: eumau/openldap
auto_tag: true
dry_run: true
when:
event:
- pull_request
- name: build and publish image
image: plugins/docker
settings:
repo: eumau/openldap
auto_tag: true
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
when:
branch:
- master