go-bouquins/.drone.yml

48 lines
809 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
2019-09-11 15:51:08 +00:00
repo: reg.meutel.net/go-bouquins
2019-09-11 15:42:26 +00:00
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:51:08 +00:00
hmac: 48a8a27212fa3f1dbb365b2976e5fd54e35944eea3bb2a1c842c74c841f89028
2019-09-11 13:03:12 +00:00
...