go-bouquins/.drone.yml

48 lines
794 B
YAML
Raw Normal View History

2019-09-11 13:03:12 +00:00
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: golang
environment:
CGO_ENABLED: 1
GOOS: linux
commands:
- go test ./...
- go build -a -installsuffix cgo .
- name: lint
image: golang
commands:
- go get -u golang.org/x/lint/golint
- golint -set_exit_status ./...
- name: vet
image: golang
commands:
- go vet ./...
2019-09-11 15:42:26 +00:00
- name: docker
image: plugins/docker
settings:
registry: reg.meutel.net
repo: go-bouquins
username:
from_secret: registry_login
password:
from_secret: registry_password
tags: dronetest
2019-09-11 13:03:12 +00:00
trigger:
event:
- push
---
kind: signature
2019-09-11 15:42:26 +00:00
hmac: c9df1ff73161cc4fdeaf1f92913130349fea25f0af41ab1170879e73179bf3bb
2019-09-11 13:03:12 +00:00
...