go-bouquins/.drone.yml
Meutel b68e4e364f
All checks were successful
continuous-integration/drone/push Build is passing
fix repo
2019-09-11 17:51:08 +02:00

48 lines
809 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: reg.meutel.net/go-bouquins
username:
from_secret: registry_login
password:
from_secret: registry_password
tags: dronetest
trigger:
event:
- push
---
kind: signature
hmac: 48a8a27212fa3f1dbb365b2976e5fd54e35944eea3bb2a1c842c74c841f89028
...