Mauro Torrez 7fb9b32e05
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
pipeline ref
2019-09-25 19:26:38 -03:00

31 lines
562 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:
ref:
- refs/pull/**
# event no anda (?)
# 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