35 lines
715 B
YAML
35 lines
715 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: Build and Publish
|
|
image: plugins/docker
|
|
settings:
|
|
username:
|
|
from_secret: docker_user
|
|
password:
|
|
from_secret: docker_password
|
|
repo: gitea.watsonlabs.net/watsonb8/groupme
|
|
registry: gitea.watsonlabs.net
|
|
dockerfile: Dockerfile
|
|
auto_tag: true
|
|
when:
|
|
branch:
|
|
- master
|
|
event:
|
|
exclude:
|
|
- pull_request
|
|
- name: Notify
|
|
image: drillster/drone-email
|
|
settings:
|
|
host: 10.44.1.13
|
|
username: srvGitea
|
|
password:
|
|
from_secret: smtp_password
|
|
from: drone@watsonlabs.net
|
|
skip_verify: true
|
|
when:
|
|
status:
|
|
- failure
|