kind: pipeline
name: default
workspace:
base: /go
path: src/git.metaunix.net/metaunix.net/muldap
steps:
- name: build
image: golang:1.12
commands:
- go mod vendor
- go build
- name: notification
image: drillster/drone-email
settings:
host: smtp.int.metaunix.net
skip_verify: true
subject: '[{{ repo.fullName }}] build #{{ build.number }} - {{ build.status }}'
body: >
Build {{ build.number }} submitted by {{ commit.author.name }} ({{ commit.author.email }})