go-bouquins/.drone.yml
Meutel c6f4508b16
Some checks failed
continuous-integration/drone/push Build is failing
test Docker build
2019-09-11 17:42:26 +02:00

48 lines
794 B
YAML

---
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 ./...
- 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
trigger:
event:
- push
---
kind: signature
hmac: c9df1ff73161cc4fdeaf1f92913130349fea25f0af41ab1170879e73179bf3bb
...